The New Yorker is overhauling its website and making all the articles it has published since 2007 available free for three months before introducing a paywall for online subscribers.

Beginning July 21, the magazine’s new and archived articles will be free to everyone, a move it hopes will attract more readers.

In the past, it had been somewhat capricious with articles it made available online. Editors typically decided which pieces — usually about a third in each weekly issue — were free. The rest were available only to subscribers.

David Remnick, the editor, acknowledged in an interview that The New Yorker previously had “this kind of awkward, the best we could do, kind of paywall, where we held things back.” That system, he said, has “long since outlived its conception.”