If expired classified ads need to remain accessible but should no longer appear in Google search results, use a noindex HTTP header or equivalent meta tag to tell Google not to show the page. If an ad has a scheduled expiration time, unavailable_after is another option to consider. However, its reliability remains unconfirmed when ads can be renewed and expiration dates change repeatedly. This guidance covers Google only; it does not draw conclusions about how other search engines handle these cases.
Expired ads that remain accessible: use noindex
A question on Webmasters Stack Exchange describes a situation where internal links to old ads have been removed, but their URLs remain accessible. The goal is to stop the ads from appearing in search results, not merely to remove them from the site’s category listings. A technical answer in that discussion suggests two approaches:
- Add X-Robots-Tag: noindex to the page’s HTTP response.
- Use an equivalent robots meta tag, setting name to robots and content to noindex.
Both methods tell the search engine not to show the page in search results; they do not delete the ad’s data. They suit old ads that need to remain accessible but no longer need search visibility. However, the answer gives no timeline for removal and does not establish that duplicate-content reports involving the old and new pages will disappear immediately.
Ads with a known expiration time: use unavailable_after to specify the cutoff
If you know an ad’s expiration time when publishing it, the same technical answer recommends unavailable_after. It lets you specify a date and time through an HTTP header or a Googlebot meta tag.
A July 29, 2026, Search Engine Journal report cites Google documentation explaining that this directive tells Google to stop displaying the page in search results after the specified time. Googlebot will also substantially reduce how frequently it crawls that URL afterward. Unlike using noindex for an already expired page, unavailable_after lets you schedule when the page should stop appearing. The 2007 date shown in the source is only an example and should not be copied directly.
Renewable ads: the reliability of updating expiration dates remains unconfirmed
The same report discusses classified ads that mostly run for just 24 to 72 hours but allow users to renew them. The person asking the question planned to update unavailable_after dynamically and asked whether Googlebot would ignore dates that keep changing. The goals were to avoid 404 responses and manage crawl budget, but these were intended benefits, not proven outcomes.
Google’s Gary Illyes said at the time that he needed to check. His initial assessment was that postponing the expiration date might be fine, but he did not give a definitive answer on whether the directive would remain reliable when an ad was renewed after expiration. For old ad pages whose listings have definitively ended and no longer need search visibility, noindex is an option, as described above. For ads that may be renewed repeatedly, updating the expiration date should not be treated as a confirmed, reliable solution.
Removing expired classified ads from search: perspectives from across the web
If the old and new ads have identical content, which URL should receive noindex?
If you want to keep the new ad visible in search and remove only the expired ad from search results, apply noindex to the old ad page. Do not apply it to both pages simply because their content is identical. This tells Google not to show the old page in search results; the technical answer does not establish that duplicate-content reports will immediately disappear as a result.
If ads can be renewed after they expire, is it safe to rely on dynamically updated expiration dates?
Its reliability has not been confirmed. In the 2026 report, Google's Gary Illyes initially thought that postponing the expiration date in unavailable_after might work, but also said he needed to check. In particular, there was no definitive answer on whether the directive would remain reliable when an ad was renewed after expiration. His initial assessment should not be treated as a guarantee from Google.
Does setting a scheduled expiration time guarantee better use of crawl budget?
No improvement is guaranteed. The report cites Google documentation stating that Googlebot will substantially reduce how frequently it crawls the URL after the specified time. However, managing crawl budget was the goal of the person asking about unavailable_after for a classified-ad site. The report does not establish the extent of any actual improvement or confirm its effects when ads are renewed repeatedly.
References
- How to do with out-of-date or expired pageswebmasters.stackexchange.com — Discusses: If the old and new ads have identical content, which URL should receive noindex?
- Google’s Illyes Unsure On Shifting unavailable_after Dateswww.searchenginejournal.com · 2026-07-29T07:00:06+00:00 — Discusses: If ads can be renewed after they expire, is it safe to rely on dynamically updated expiration dates?; Does setting a scheduled expiration time guarantee better use of crawl budget?

