The campaign ended. Remove the Magento 2 landing page or keep it with noindex?

2 min read

Three silver arrows lead from a campaign page to an archive, a new page and a stop marker

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 200 and 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 200 and add noindex.
  • The old URL is being retired
    • If the content has an equivalent replacement, set a permanent 301 redirect to that page.
    • If the page is gone and there is no equivalent, return 404 or 410.

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.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)