Skip to main content
SEO maintenance mode: Return a temporary 503 during planned work
Technical SEO

SEO maintenance mode: Return a temporary 503 during planned work

A maintenance screen should reflect the real state of a page. This guide separates a temporary HTTP 503 from a maintenance page returning 200, then shows how to verify scope, Retry-After, edge delivery, and recovery.

Matthias RamahiMatthias Ramahi
10 min readNovember 24, 2026Legacy score: 100/100

During planned maintenance, return 503 Service Unavailable for each URL whose normal function or content is temporarily unavailable; use Retry-After only as a best-effort estimate. Keep unaffected URLs on their normal response. This status is the truthful choice, not a promise that Search will preserve every signal. For example, a database migration might briefly prevent product pages from loading even while the rest of the site remains available.

That distinction is more than presentation during a real, time-limited outage. Browsers, crawlers, and intermediate systems receive the same status even if they use the body differently. The status must match what is actually happening to the URL. This guide covers planned work on pages or a site. It is not a guide to robots.txt outages, 429 rate limiting, or every kind of server error.

When a 503 matches the state

HTTP defines 503 for a server that cannot handle a request temporarily, for example because of overload or scheduled maintenance, and is expected to recover after some delay. A server may also send Retry-After to suggest when a later attempt should happen. That is the protocol meaning, not a promise about how a particular bot will behave. RFC 9110, section 15.6.4 defines the status; section 10.2.3 explains Retry-After.

The status fits when the requested page genuinely cannot provide its normal function or content during maintenance. Examples include a temporary database migration, a necessary move between systems, or a security measure that briefly prevents normal access. Do not use it only to display a marketing message while the page itself is otherwise available.

The right response depends on scope:

Actual stateLikely responseFirst question
The site cannot serve normal pages during the workTemporary 503 on affected pagesCan a simple, accessible maintenance message remain available reliably?
Only one area is unavailable503 only for that areaWhich other URLs can still return correct content?
Only a feature such as checkout is pausedKeep information pages working and handle the unavailable feature clearlyIs the affected URL a page of its own or an action within a page?
A page has been permanently removedDo not disguise it as maintenanceShould the actual state be a 404, 410, or permanent redirect to a real replacement?

A paused checkout does not automatically make product descriptions and help articles unavailable. If they can still provide accurate information, they do not need to inherit the same site-wide error. Conversely, a product page is not really available if it returns HTML but lacks essential data from a database that is offline. Decide from the response users and crawlers actually receive.

The SEO HTTP status code glossary helps put other responses in context. The decisive factor remains the resource's actual state, not an isolated SEO recipe for a number.

Why a polished maintenance screen returning 200 is risky

Many maintenance pages appear through a template while the web server responds with 200. To a person, the message clearly describes an outage. Technically, however, it reports a successful response. Google documents that content from a 2xx response may move into further processing. A 200 does not guarantee indexing. If the content resembles an error page, Google may also classify it as a soft 404. Google's current guide to how HTTP status codes affect crawlers explains both limits.

Google has explicitly recommended 503 for a temporary interstitial during a planned shutdown. Its older Search Central guide to closing a site explains that a maintenance message returning 200 could be processed as website content. The specific duration stated in that older article is not a universal safety window. Do not treat it as a deadline before which maintenance is guaranteed to have no Search effect. Read newer status-code guidance and check what your site actually returns.

A 503 is not a license for an outage to continue indefinitely. Google says 5xx errors temporarily slow crawling. Already-known URLs may stay in the index at first, but persistent server errors can eventually remove them. Content from 5xx responses is not processed like normal page content. Once the server returns 2xx again, Google says crawl activity gradually increases. Its crawling error troubleshooting guide explains how to observe availability in Search Console. It does not promise a recovery time for a particular URL.

So the practical goal is not to force a particular Search outcome. It is to report temporary unavailability accurately and restore normal responses as soon as possible.

Retry-After is guidance, not a reservation

HTTP allows Retry-After to contain either a delay in seconds or an HTTP date in GMT. With a 503, it indicates how long the service is expected to be unavailable and when a client should make a follow-up request. A relative value could look like this:

HTTP/1.1 503 Service Unavailable Retry-After: 120

The value 120 suggests a 120-second delay. An HTTP date is also valid, but it should contain only a credible recovery estimate. A precise maintenance end time is useful only if the operations team can keep that estimate credible. If the duration is uncertain, do not invent a finish time. A short explanation that work is still underway is more honest than an expired Retry-After value.

Even when the estimate is realistic, the header does not guarantee that Googlebot returns at that exact time. It is not a crawl request or a way to reserve a moment in Search. Other clients may interpret it differently or follow their own retry rules. The protocol says the client ought to wait, not that it must fetch again at a specific moment.

Define scope before switching the response

Before the maintenance window, make a short list of representative URLs and sort them into groups:

  1. Pages that remain available and correct during the work.
  2. Pages that temporarily cannot load required data.
  3. Pages that should continue redirecting to a valid destination.
  4. APIs or actions that are not ordinary HTML pages.

This avoids applying one rule indiscriminately to information pages, media, assets, and administrative endpoints. If product data is the only dependency, check whether static information can still be served. If the entire application must be offline, document which paths should return 503 and which infrastructure layer will serve the maintenance page.

A useful URL matrix records the path, page type, expected status, observed status, and layer where the response was checked. Note whether the observation came from the CDN, load balancer, or origin. A rule can be correct at the origin but changed at the edge by a cache, worker routine, or proxy response.

A technical crawl or an SEO audit can help identify important page types and URLs. It does not replace a test during the maintenance window. A crawl from before the change cannot prove what the URL serves now.

Check the maintenance response at the public edge

During the work, test several representative URLs from outside your network. A browser view is not enough because it may not make the HTTP status obvious. Use an HTTP client or browser developer tools and check:

  • the initial response status and any redirect chain;
  • whether a URL that should be unavailable actually returns 503;
  • whether a URL meant to remain available still returns its correct content with 2xx;
  • whether Retry-After appears only where the service is genuinely expected back soon;
  • whether a CDN or proxy is caching an earlier 200 or 503 response;
  • whether the maintenance message is readable and provides useful status or contact information without disguising the error response as success.

Do not test only the homepage. A routing rule may behave differently on subpaths. Include at least one URL from each affected page type and one known URL outside the maintenance scope. Test a request method that matches normal page access; a successful HEAD test does not automatically prove that GET returns the same response.

The response should not vary by user agent. Serving a maintenance page to people and a normal page to Googlebot would return different content under comparable conditions and would not be a clean representation of the service state. Use the same factual response for equivalent requests. If the page is otherwise reachable but you suspect a separate bot block, our Googlebot firewall guide shows how to distinguish verified Googlebot requests from user-agent claims. If a CDN generates the maintenance page, inspect the status received by the client rather than only the origin rule.

A 503 body can still help visitors. It should briefly explain that the page is temporarily unavailable and should not make unsupported claims about the underlying data. Keep any stated end time current. Meta tags do not replace the status code. noindex is an indexing directive, not a signal that a server cannot temporarily serve the normal page. The noindex glossary entry explains that distinction.

Treat recovery as a separate check

Maintenance is not finished merely because the deployment script exits without an error. After the change, test the same URL matrix again:

  1. Every affected URL returns its intended page content instead of the maintenance message.
  2. Existing, functioning pages return 2xx again, typically 200.
  3. Redirects lead to the intended target rather than a generic homepage.
  4. HTML, canonical and robots metadata match the normal page type.
  5. Cache and CDN layers no longer serve the old maintenance response.
  6. Logs from the relevant layers help trace the rollout. The external URL check separately confirms the status a client actually receives.

Google names Crawl Stats and URL Inspection as ways to investigate observed fetch problems. Search Console is a later observation, not a replacement for your own HTTP test. The Search Console reports glossary helps explain the signals shown there. URL Inspection can show what its live test fetched at that moment; it does not prove that an already-known URL has been indexed again or will return at a particular time. If a reachable page still does not appear in the index, our guide to Crawled - currently not indexed covers that separate diagnosis.

Your own logs also do not answer every Search question. They show what reached the layer being logged and how that layer responded. They do not necessarily establish whether another edge region served the same response or whether Google processed the content. For a particular fetch, the important evidence is the response that request actually received. The crawl budget glossary covers the separate question of how Google's crawl capacity and demand interact. One maintenance response is not proof of a specific crawl budget change.

For implementation work, a site audit for crawling and status responses can structure a URL sample. The practical connection is that you can compare the paths you selected in a crawl. That crawl proves only what its own requests received at that time. It does not replace distributed edge testing or Google's index state.

Three common mistakes

The work takes longer than expected, but Retry-After stays unchanged. A fixed value becomes false information as soon as the estimate changes. Update it when the projection changes or omit an uncertain end time.

A 200 page with maintenance copy is treated as an SEO solution. The screen looks friendly, but the response reports success. Google can process 2xx content. Good visitor communication and an accurate HTTP status are separate decisions.

Only the homepage is checked after service returns. That misses paths where a CDN, region, or stale cache still returns 503. Repeat the matrix with affected and unaffected URLs and test responses from outside the origin.

A day of 503 is assumed to be neutral for indexing. The documentation does not define a grace period that applies to every site, page type, and crawl history. A temporary status is a truthful response to temporary unavailability. It does not promise that index signals are unaffected.

A short before-and-after checklist

Before the window: define affected URLs, identify pages that stay available, plan the response at the CDN, use Retry-After only with a credible estimate, and prepare a test list.

During the work: inspect status, headers, and body from outside; request multiple page types; record the edge response; and update the projected end time if it changes.

Afterward: repeat the same URL matrix, check 2xx content and redirects, inspect cache layers, and treat Search crawling reports as later evidence.

The rule is simple: if a resource is temporarily unavailable, the response should say so. If it is available, serve its normal content. A 503 does not replace decisions about permanently removed pages or separate diagnoses for robots.txt and rate limits. It is a precise status for a narrowly scoped, temporary state.

Frequently Asked Questions

Build a keyword database you own

Import and organize keywords, audit technical issues with evidence, and export everything at any time.

Start Free
Matthias Ramahi

Matthias Ramahi

Founder, Crawl Foundry

SEOKeyword ResearchTechnical SEO

Matthias Ramahi is the founder of Crawl Foundry and leads the product, its data sources, and its editorial standards. Crawl Foundry is his central software and SEO project.

Prefer Crawl Foundry on Google

Add crawlfoundry.com as a preferred source in your Google account and our articles will appear higher up on Google. Optional, and you can undo it at any time.

Set as preferred source

You Might Also Like

Search this website

Find product information, FAQ and documentation with links to the original pages.