Optimixed Search News

Google advises sites to return 503 status codes instead of 404s when patching PHP to preserve indexation

72
News

TLDR

Google recommends returning 503 status codes instead of 404s during server maintenance to prevent indexed pages from being permanently removed from search results.

Optimixed Overview

Optimixed's original report on this story.

PPC Land reports that Google advises sites to serve 503 (Service Unavailable) responses rather than 404 (Not Found) codes when making temporary changes like PHP patches. The distinction matters for indexation: 404 responses cause Google to remove URLs from search permanently, while 503s keep pages in the index temporarily during the outage. The outlet also notes that Google limits redirect chains to 10 hops and addresses how long a site can remain down without losing indexed content.

Was this useful?
Share

Related articles

55
News

Google advises serving 503 status codes from outside PHP during patches and keeping robots.txt accessible to prevent URLs from being dropped from the index.

Technical SEOSEO News & Algorithm Updates
55
News

Google's Gary Illyes and Chery Prommawin released a video explaining which robots.txt directives are actually supported by Google and other search engines or AI crawlers.

Technical SEOSEO News & Algorithm UpdatesAI & Machine Learning in SEO
45
News

John Mueller provided guidance on maintaining search visibility when temporarily taking a site offline to patch the PHP2Shell vulnerability.

Technical SEOSEO News & Algorithm Updates
28
News

Google updated its help docs to explicitly list existing data-sharing controls including robots meta tags, data-nosnippet, X-Robots-Tag, and Search generative AI controls.

Technical SEOSEO News & Algorithm Updates