HTTP status codes and Google: what to do when your site goes down or changes URL
BlogOctober 21, 20265 min read

When Google requests a page on your site, your server answers with an HTTP status code. That number decides whether Google can read the content, follow a redirect, drop the URL from results, or—during maintenance—keep pages it already had indexed. Per Google’s official guide (updated March 6, 2026), a 503 during a short outage protects those URLs; a 404 or an error page returned with code 200 puts them at risk.
In short: the code is not a detail for your developer alone. It is the signal Google uses to know whether your page is still live, has moved, or is temporarily unavailable. The source is Google’s documentation on how HTTP status codes affect Google crawlers at developers.google.com. Search Console also warns when it finds 4xx, 5xx, or failed redirects.
What an HTTP status code is, in business terms
Every time someone—or Google—opens a URL, your server replies with a three-digit number and, when things go well, the page content. The first digit group summarizes the outcome: 2xx means the request succeeded; 3xx means go to another URL; 4xx means that address cannot be served to the client; 5xx means the server has a problem. Google does not need you to memorize twenty codes—it needs you to pick the right one in fragile moments.
Practical table: what Google does with each response
- Code
- 200
- Typical situation
- The page loads correctly
- What Google does
- Can process the content for search results. That does not guarantee it will show.
- Code
- 301 / 308
- Typical situation
- The URL moved permanently
- What Google does
- Follows the redirect and treats it as a strong signal that the destination is the canonical page.
- Code
- 302 / 307
- Typical situation
- The move is temporary
- What Google does
- Still follows the redirect, but the signal that the destination is permanent is weaker.
- Code
- 404 / 410
- Typical situation
- The page no longer exists
- What Google does
- Does not use that content. If it was already in Google, it eventually drops out of the index.
- Code
- 429
- Typical situation
- Too many requests to the server
- What Google does
- Treats it like a server error: slows down crawling of your site.
- Code
- 503
- Typical situation
- Maintenance or temporary outage
- What Google does
- Slows crawling, ignores content in that response, and for now keeps URLs it already had indexed.
| Code | Typical situation | What Google does |
|---|---|---|
| 200 | The page loads correctly | Can process the content for search results. That does not guarantee it will show. |
| 301 / 308 | The URL moved permanently | Follows the redirect and treats it as a strong signal that the destination is the canonical page. |
| 302 / 307 | The move is temporary | Still follows the redirect, but the signal that the destination is permanent is weaker. |
| 404 / 410 | The page no longer exists | Does not use that content. If it was already in Google, it eventually drops out of the index. |
| 429 | Too many requests to the server | Treats it like a server error: slows down crawling of your site. |
| 503 | Maintenance or temporary outage | Slows crawling, ignores content in that response, and for now keeps URLs it already had indexed. |
If the site is in maintenance: use 503, not 404
This is the case that hurts most when handled wrong. You take the store offline for two hours for a patch, update the server, or change hosting. If Google gets a 404 during that window, it assumes the page is gone and, over time, stops using it. If it gets a 503 (service unavailable), Google understands the problem is on the server: it lowers crawl rate for a while and keeps indexed URLs until you answer with 200 again.
The twin mistake to 404 during maintenance is serving a page that says “under construction” but with code 200. To Google that can look like a real page. If the content looks like an error or is empty, Search Console may flag a soft 404—a page that pretends to be fine but adds no value. For a short outage, 503 is the clean answer.
How to check in five minutes
- Put the site in maintenance mode the same way you would in production.
- Open the homepage and an important inner page in the browser.
- Check the response code (browser dev tools, Network tab, or a header checker).
- If you see 200 on a “we’re down” screen, fix it before the real maintenance window.
- When you return to 200 with normal content, Google gradually increases crawl rate again.
404 and soft 404: not the same thing
A 404 (or 410) states clearly: this URL has no content. Google does not index new URLs like that and removes ones that were already indexed. That is correct when you delete a product or post for good.
A soft 404 is different: the server returns 200, but the page is empty, an error message, or has no value. Search Console reports it because Google recognizes the pattern. The fix is not to hide the soft 404 with more empty text—either restore a useful page on that URL, return a real 404/410, or redirect with 301 to the page that replaces it.
Redirects: use 301 when the move is permanent
By default Google follows up to 10 redirect hops when crawling general web content. Content on the redirecting URL is ignored; the final URL counts. A 301 or 308 signals a permanent move and weighs more as a sign that the destination should be processed. A 302 or 307 is still followed, but the “this is the final home” signal is weaker.
In practice: if you change a service URL, merge two blogs, or move from HTTP to HTTPS, use 301 from the old URL to the new one and avoid long redirect chains. A chain of twelve hops may stop before the destination.
5xx and 429 errors: Google slows crawling
Server errors (5xx) and 429 (too many requests) make Google temporarily slow crawling of your site. URLs already in results are kept for a while, but if the error persists, they eventually drop. When the server returns 2xx again, Google raises crawl rate gradually. A short 503 spike for maintenance is not the same as days of 500 across half the site.
Checklist before maintenance or a URL change
- Short maintenance or outage: respond 503 on public URLs, not 404 or 200 with an error message.
- Page removed forever: 404 or 410, or 301 to a clear replacement if one exists.
- URL changed: 301 from old to new, single hop if you can.
- After the fix: confirm key URLs return 200 with real content.
- Review Search Console in the following days for 4xx, 5xx, or soft 404 warnings.
To see which pages on your site already fail to load or block visits, you can analyze your site for free or open the full site analysis in the app. For the full official framework, the code table is in Google’s guide to HTTP status codes and crawlers. If you also publish copy with AI help, pair this technical hygiene with Google’s guide on AI-generated content.
