SEO
HTTP status codes and soft 404s: what your error page tells Google
A nice error page helps visitors. For search engines, however, what counts is not what it says but which number the server sends with it. If it is wrong, you get soft 404s, orphaned pages and lost rankings.
In short
- The status code tells search engines whether a page exists, has moved or is permanently gone.
- An error page must respond with 404 or 410, not with 200, otherwise a soft 404 is created.
- Redirects should be single-step and permanent to the correct canonical address.
What it is about
Every response from a web server begins with a three-digit number. 200 means “all fine, here is the page”. 301 means “moved permanently, please go there”. 404 means “does not exist”, 410 “no longer exists and will not return”. Visitors never see these numbers, but search engines rely on them almost exclusively.
That is why a lovingly designed error page can be a problem. If it responds with 200, Google considers it real content. It then shows up as a soft 404 in the Search Console report, and in the worst case hundreds of non-existent addresses with identical content end up in the index.
How it works
The meaning of the codes is defined in the RFC 9110 standard. In its documentation, Google describes how Search reacts to them: pages with 2xx are considered for indexing, 301 and 308 permanently transfer signals to the target, 404 and 410 cause addresses to drop out of the index. A soft 404 is a page that reports 200 but is an error page in terms of content.
For redirects: single-step and permanent. If a domain is reachable with and without www and via http and https, all variants should be redirected to the canonical address in a single step. Chains like http to https to www to non-www cost time and dilute signals. Multilingual websites need an error page that greets visitors in their language, but technically always reports 404.
Where it goes wrong
The most common mistake is an error page with the wrong code. Some systems redirect unknown addresses to the home page or show the error page with 200. In one project, the correctly configured 404 page still occasionally reported 200 because a server cache had stored an old response. The lesson: status codes have to be checked again after every upload and every cache purge.
A second mistake is blanket redirects after a relaunch. If all old addresses are redirected to the home page, Google often treats that as a soft 404 as well. A mapping to the matching replacement in terms of content, or an honest 410, is better.
How to proceed
Request several made-up addresses on your website and check the status code, not just what is displayed. Set up the error page so that it helps in every language and always reports 404. Redirect http and www permanently to the main address in one step. Answer removed content with 410 or a targeted 301 to a suitable replacement. Search regularly for redirect chains. And check the Search Console page indexing report for soft 404s.
Read more: Website relaunch without losing rankings: planning redirects properly, Understanding caching: why changes are not visible straight away and Maintaining an XML sitemap: getting new content indexed quickly.
How Airnite helps
We check your website’s status codes, error pages and redirects completely and automatically, across all language versions. We fix soft 404s, chains and wrong redirects we find and set up a check that runs again after every upload.
Checklist
Sources
Every fact in this article is based on the following publications. Primary sources are marked.
- IETFRFC 9110: HTTP Semantics
- Google Search CentralHow HTTP status codes, and network and DNS errors affect Google Search
- Google Search CentralRedirects and Google Search
Matching services
Read on
Website relaunch without losing rankings: planning redirects properly
The new website is prettier, faster, more modern. Three weeks after launch, sales calls: no more enquiries are coming in via Google. It is almost always missing redirects.Websites3 minUnderstanding caching: why changes are not visible straight away
Caches make websites fast. They are also why some visitors still see the old version after an update, and why an error page suddenly reports the wrong status.SEO3 minMaintaining an XML sitemap: getting new content indexed quickly
The sitemap is your website’s table of contents for search engines. Well maintained, it speeds up the discovery of new pages. Neglected, it sends crawlers on detours to old addresses and test pages.Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine