Content has a known end date (event, offer, listing)
- Better tool
unavailable_after- Why
- The expiry is set ahead of time and needs no action on the day
The unavailable_after robots rule tells Google to stop showing a page after a set date and time. Accepted date formats, mistakes, and how to confirm it.
unavailable_after is a robots rule that sets a date and time after which Google should no longer show the page in search results. It takes a date in RFC 822, RFC 850 or ISO 8601 format. If the date is missing or invalid, Google ignores the rule.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
unavailable_after adds one. Google's documentation says that after the specified date and time, the page should not be shown in search results. It also says Googlebot considerably reduces the URL's crawl rate after that point. The documentation doesn't describe a deletion or a removal process, only that the page stays out of results.X-Robots-Tag: unavailable_after: 2027-01-31T23:59:00Z<meta name="robots" content="unavailable_after: 2027-01-31T23:59:00Z">unavailable_afterunavailable_after in X-Robots-Tag A missing or invalid date means the rule is ignored. Use ISO 8601 with an explicit timezone, such as the Z suffix.
The documented name uses an underscore: unavailable_after.
The rule says when the page should stop being shown. Google has to crawl the page to read the tag, so publish it well before the date.
Once the date passes, decide the page's permanent fate: remove it or redirect it.
Open the page, view source, and search for unavailable_after. For files, run curl -sI and look at X-Robots-Tag.
Confirm it parses as ISO 8601 and is in the future. A date in the past is a decision to expire the page now, so make sure that is intended.
Run the URL Inspection tool on the page and confirm Google can fetch it, which is required for the rule to be read.
Search for the URL with a site: query to see whether it still appears, and expect crawling to slow down.
1 questions people ask next, answered from the sources on this page.
No. It only tells Google when to stop showing the page in search results. The page still loads for anyone with the URL until you remove or redirect it yourself.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.