What happens to the pages you no longer want
RelaunchEvery website that has grown carries content nobody needs any more.
8 min read
By Timo Wessels Published
Every grown website drags along content nobody needs any more. News from 2017. A campaign that ended years ago. A section somebody once started and never finished.
In a rebuild comes the moment when it is decided what of this comes along. And then almost always the same thing happens: the pages are deleted, and the matter counts as done.
It is not. Deleting is not an answer, only the removal of the answer. The address still exists: in search results, in bookmarks, in other people’s links, in a mail from three years ago. Whoever opens it now gets something. The question is what.
The most important points first:
- “Gone” is not a decision. For every address that falls away you need a deliberate answer.
- Redirect only if there is a successor that fits in content. Otherwise report the page as removed.
- Design the error page so that a human can get further.
There are four answers, not one
- Redirect. There is a successor that answers the same question. The visitor lands there.
- Report as removed. There is no successor, and that is a decision. The content is gone and does not come back.
- Keep, but take out of search. The content stays reachable for visitors but should no longer appear in search results.
- Not found. The residual category. It is the weakest answer and should occur least often.
Most websites use only the fourth.
Redirect, and the mistake in it
If there is a successor that fits in content, a permanent redirect is the right choice. Google describes redirects as a means of sending visitors and search engines from one address to another. The visitor lands at what they were looking for.
The mistake is the word in content.
It is tempting to send everything old to the home page. No error arises, the numbers look clean, and the work is done in five minutes.
For the visitor, though, it is a dead end with better manners. They clicked a link on a particular topic and stand before your greeting. They do not know what happened and do not find what they were looking for. That is my assessment.
If there is no fitting successor, a redirect is the wrong answer. Then comes the second.
Report as removed: the answer hardly anyone uses
On an error the server answers with a status code, a number that tells the browser and the search robots what is going on. There are two that look like siblings:
- 404 “not found”. According to MDN this code says only that the page is missing, but not whether temporarily or permanently.
- 410 “gone”. According to MDN it means: the resource is no longer available, and this is likely permanent. Clients should not repeat the request. If the owner does not know whether it is permanent, they should use 404.
The difference is a statement about the future. “Not found” means: nothing here right now, perhaps it was a typo. “Removed” means: that was a decision, stop searching.
Google writes in its page on crawl budget: for permanently removed pages return 404 or 410. A 404 is a strong signal not to fetch the address again. And Google explains about status codes: content from addresses with a 4xx code is ignored, and such addresses are no longer used over time.
For you the code has one more practical side effect: in the evaluation after the rebuild you can tell apart what you wanted to throw away from what is missing by accident. On a site full of “not found” you do not see the difference. That is how I work.
The second part is easily forgotten: the status code is for machines. The human who clicked the link still needs a readable page that says what happened and where to go instead.
Whole areas at once
If a complete section falls away, such as a news archive, an old blog or a discontinued area, you do not enter every single address. It is enough to name the directory. One rule instead of two hundred rows, and everything below it is done.
Here the decision is easier than many think. An archive of news items that has had hardly any visitors and no incoming links for years makes the site larger and nobody wiser. Keeping it costs upkeep and brings nothing. Removing it is the easier decision once you make it deliberately instead of postponing it. That is my experience.
Keep, but not in search
Some content should stay reachable for visitors but does not belong in search results: an area with posts by users, an archive that is needed internally, something someone opens through a direct link.
That is not a deletion. The content stays, it is just no longer included. For this there is the rule noindex, as a statement in the head of the page or in the server’s response header. According to Google, Googlebot then drops the page completely from search. Important: for the rule to work, the page must not be blocked by the robots.txt. Otherwise the robot never sees the rule, and the page can still appear in the results, for example if other pages link to it.
The two cases are often mixed up. What a visitor still needs is deleted. And what nobody needs any more stays, because deleting feels too final.
The page nobody wants to land on
Even with careful work a remainder stays: typos in addresses, wrong links from other sites, old addresses nobody thought of.
These visitors see your error page. And on most websites it is the worst it could be: an empty area with a number on it. Whoever lands there is gone and jumps back to the search results.
Yet the effort for a usable error page is small. It needs:
- The normal navigation, so that the visitor sees where they are and can get further.
- A search, the most direct way to what they wanted.
- One sentence in normal language. “This page no longer exists” everyone understands. A three-digit number nobody outside the trade understands.
- A visible way to the home page.
The same goes for the page for deliberately removed content. It is a page of its own with a statement of its own, not the same as the error page, because here you know what happened and can say so.
Google names one more trap: an error page that returns the code 200 (“all fine”) is called a soft 404. Search Console reports it as a category of its own. The page must deliver the fitting status code and not merely look friendly.
How to check what your site answers
If it is about one address, you need no tool. Open the browser’s developer tools with F12, switch to “Network” and request the address. In the first row of the list stands the status code.
For a whole website you need a tool that requests all addresses and writes down the answers. That is the same crawl you should do after a rebuild anyway. The list of old addresses against which to hold it is a topic of its own with an article of its own.
The one check that always pays: request any address that does not exist on your site. Add a few random characters to your domain. What you then see is what everyone sees who comes through a broken link.
The decision behind it
The core of this article is not technical. “Gone” is not a decision. For every piece of content that falls away there is someone who still requests it, and the question is what this person should get instead.
Four possible answers, one deliberate choice per address. That is all. For a normal website it takes an afternoon, and it is the difference between a rebuild nobody notices and one after which visitors run into nothing for months.
Sources
- Google Search Central, HTTP status codes, and network and DNS errors — content from 4xx addresses is ignored, such addresses are no longer used over time; soft 404: developers.google.com(external site: developers.google.com)
- Google Search Central, Optimize your crawl budget — 404 or 410 for permanently removed pages; 404 as a strong signal not to fetch the address again: developers.google.com(external site: developers.google.com)
- Google Search Central, Redirects and Google Search — redirects send visitors and search engines to another address: developers.google.com(external site: developers.google.com)
- Google Search Central, Block Search indexing with noindex —
noindextakes the page out of search; it must not be blocked by therobots.txt: developers.google.com(external site: developers.google.com) - MDN, 404 Not Found — does not say whether the page is missing temporarily or permanently: developer.mozilla.org(external site: developer.mozilla.org)
- MDN, 410 Gone — no longer available, likely permanent; in doubt use 404: developer.mozilla.org(external site: developer.mozilla.org)
- Own testing practice — the four answers as a deliberate choice per address, the redirect to the home page as a dead end, the evaluation after the rebuild, whole directories with one rule, the build of a usable error page, the test with an invented address.