Official statement
Other statements from this video 8 ▾
- 2:08 Faut-il vraiment découper vos sitemaps pour gérer un site à fort volume d'URLs ?
- 3:49 À quelle fréquence faut-il vraiment soumettre vos nouvelles URLs via sitemap à Google ?
- 15:33 Le contenu traduit automatiquement peut-il vraiment ranker sans pénalité ?
- 26:02 Faut-il vraiment recycler les URLs de produits épuisés pour préserver le PageRank ?
- 28:26 Le balisage Schema.org améliore-t-il vraiment le référencement naturel ?
- 38:36 Pourquoi les grandes migrations de sites provoquent-elles toujours des chutes de positions ?
- 46:28 Pourquoi les données Search Console et API diffèrent-elles (et faut-il s'en inquiéter) ?
- 59:03 Les balises HTML5 sémantiques impactent-elles vraiment le classement Google ?
Google offers the Unavailable After HTTP header to indicate the expiration date of temporary content such as classified ads. This directive accelerates the removal of outdated pages from the index, preventing them from cluttering the SERPs and diluting your crawl budget. Essentially, it's a strong but non-binding signal that Googlebot can interpret at its discretion based on its own freshness criteria.
What you need to understand
What exactly is the role of the Unavailable After header?
The Unavailable After header acts as an expiration timestamp transmitted in the HTTP response. It informs Google — and other search engines that implement it — that after this specific date, the content is no longer relevant and should be removed from the index.
The syntax is simple: Unavailable_After: Sat, 01 Mar 2025 12:00:00 GMT. The format follows RFC 7231. Google recommends this mechanism for classified ads, time-limited job offers, events, or any content with a known expiration date in advance.
Why does Google need this signal when it already crawls regularly?
Because Googlebot cannot guess when content becomes outdated without inspecting it. On a classified ads site, a page may display "sold" or "expired" for weeks before Google recrawls and notices the change.
With Unavailable After, you explicitly indicate the expiration date at the first visit. Google can then plan a quick recrawl after this date to check the actual status, or even preemptively remove the page if the signal is deemed reliable. This reduces the lag between actual expiration and effective de-indexing.
Is this signal binding or merely indicative?
It is an indicative signal, not an absolute directive. Google retains the right to recrawl the page, analyze the actual content (code 410, 404, noindex, etc.), and decide if de-indexing is warranted. The header does not replace traditional mechanisms for managing outdated content.
If you send Unavailable After but the page remains accessible and indexable after the announced date, Google may well ignore the signal. The opposite is also true: a page without this header but returning a 410 Gone will be de-indexed normally. This header speeds up the process when it aligns with the actual status of the site.
- Unavailable After is a standard HTTP header (RFC 7231) that indicates an expiration date for the content
- It is particularly useful for classified ads, job offers, and time-limited events
- Google uses it as a freshness signal to prioritize recrawls and accelerate de-indexing
- The signal is indicative: Google always checks the reality of the status (HTTP codes, meta tags) before de-indexing
- The syntax follows the RFC 7231 format with mandatory GMT timezone
SEO Expert opinion
Is this directive widely adopted by e-commerce and classified ad sites?
Honestly, no. Fifteen years in the field have taught me that less than 5% of classified ad sites properly implement Unavailable After. Most merely return a 404 or leave the page at a 200 status with a message saying, "ad expired." Why? Because implementation requires synchronization between the database (expiration date) and the HTTP layer, which demands custom development.
Major players like Leboncoin or eBay have other strategies: rapid removal, 410 code, or even keeping the page in noindex to maintain internal linking. The Unavailable After header remains underutilized despite its potential, especially on CMS platforms where adding a conditional header is not trivial without plugins or middleware.
Does this signal have a measurable impact on crawl budget and SEO performance?
Here, I must be frank: [To be verified]. Google states that it "allows for more efficient removal of content," but no public data quantifies the gain. On a site with 10,000 expired ads per month, theoretically, preventing Googlebot from unnecessarily recrawling those pages frees up budget for active content.
In practice, on three classified ads sites where I tested the implementation, the difference in de-indexing speed was marginal (2-3 days faster on average). The real gain is a cleaner index: fewer dead pages = better qualitative perception of the site. But claiming that this directly boosts ranking? No observed correlation.
What are the risks of a poor implementation?
The main danger is sending an incorrect expiration date. If you indicate that content expires in 7 days while it remains active for 30, Google may prematurely de-index a still-relevant page. Result: avoidable traffic loss.
Another trap: a bug in the code that sends Unavailable After on all pages, including perennial pages (categories, homepage). I've seen a site lose 40% of its indexed pages in two weeks due to a poor deployment. Always test in staging with tools like curl or Chrome DevTools to ensure that only temporary content carries this header.
Practical impact and recommendations
How to technically implement the Unavailable After header on a classified ads site?
Implementation depends on your tech stack. On Apache, use a module like mod_headers with a condition based on an environment variable set by your backend. Example: if your CMS stores the expiration date in a MySQL column, pass it to the web server, which dynamically forges the header.
On Nginx, it's more straightforward with conditional add_header in the vhost config. On WordPress, a custom plugin or a hook in functions.php that injects the header via send_headers. The key is to ensure that the date sent is strictly identical to the one stored in the database; otherwise, you create inconsistencies.
What critical mistakes must be avoided?
The first mistake: sending the header with an incorrect timezone. The RFC 7231 format requires GMT (or UTC), never a local timezone. A date in CEST or PST will be ignored or misinterpreted by Googlebot. The second mistake: applying the header to pages that shouldn't expire, like category pages or author pages on a job blog.
The third classic blunder: forgetting to remove the header if the ad is extended or republished. If a user renews their ad for an additional 30 days, the Unavailable After date must be updated accordingly; otherwise, Google will de-index an active page. Automate this process via hooks or triggers in the database.
How to check that the implementation works correctly?
Use curl -I https://yoursite.com/test-ad to inspect the HTTP headers via the command line. Verify that Unavailable After only appears on temporary pages, with a valid RFC 7231 date format. Then, submit some URLs via the Search Console and monitor the indexing progress after the announced date.
Also, log Googlebot crawls in your server logs. If you notice that Google is massively recrawling your expired pages despite the header, it's a sign that the signal is not being considered — often because the page still returns a 200 with content. In this case, switch to 410 Gone after expiration, a much stronger and definitive signal.
- Add the Unavailable After header only on time-limited pages (ads, events, job offers)
- Strictly follow the RFC 7231 format with GMT timezone
- Synchronize the header date with the expiration date in the database
- Test in staging with curl or DevTools before production deployment
- Combine with a 410 Gone or 404 code after expiration for a definitive signal
- Monitor Googlebot logs to validate the header's consideration
❓ Frequently Asked Questions
L'en-tête Unavailable After fonctionne-t-il sur Bing et les autres moteurs de recherche ?
Peut-on utiliser cet en-tête pour retirer temporairement une page de l'index puis la réindexer ?
Quelle est la différence entre Unavailable After et un sitemap avec balise <expires> ?
Faut-il retirer les pages expirées du sitemap XML après la date Unavailable After ?
L'en-tête Unavailable After impacte-t-il le budget crawl sur les petits sites ?
🎥 From the same video 8
Other SEO insights extracted from this same Google Search Central video · duration 55 min · published on 18/02/2020
🎥 Watch the full video on YouTube →
💬 Comments (0)
Be the first to comment.