After a campaign ends, people may still arrive from an old email or a saved link. Decide whether they should find archived terms, a current offer or a message that the campaign has ended. Then choose the HTTP response and indexing setting.
Decide what the old URL should do
- The old URL still serves visitors
- If people should also find the content through search, retain
200and allow indexing. Update the page to reflect that the campaign has ended. - If the direct link should work and the page should drop out of search, retain
200and addnoindex.
- If people should also find the content through search, retain
- The old URL is being retired
- If the content has an equivalent replacement, set a permanent
301redirect to that page. - If the page is gone and there is no equivalent, return
404or410.
- If the content has an equivalent replacement, set a permanent
Leave the page crawlable when using noindex
In a local test, Kowal Robots 1.0.11 set NOINDEX, FOLLOW on a CMS page that returned 200. A second test state used the same HTML directive with a path block in robots.txt. Googlebot needs access to the page to read the directive. The HTTP responses and crawl rules in the test came from a sample server. Kowal Robots. Module documentation. Google’s noindex guide.
Open the old URL without signing in. Record the HTTP status. For a redirect, read Location and open the destination. For a retained page, compare its robots meta tag, X-Robots-Tag header and path rule in robots.txt. When retiring a page, remove the old URL from the sitemap and update internal links. Google’s guidance on unavailable pages.
For Magento directive settings, see the earlier CMS robots guide.
