Skip to main content

Check staging restrictions before release

Glot Rank Team · Published

Define the policy for each environment before checking the release. Removing noindex is not a universal launch action: some public pages should be indexable, while particular workflows must retain restrictions.

Aleyda Solis’s practitioner account of SEO incidents identifies missing migration validation as a risk.

Assign environment and page-type ownership

Teaching objectAccess expectationSearch expectation
Staging product pageApproved staging protectionNot the production search entry
Production product pagePublic for intended readersIndexable under the approved policy
Private production resourceAuthorization requiredPublication does not expose it
Retired production pageAppropriate retirement or relevant moveMatches actual content state

Noindex and robots.txt are not authentication. Verify staging protection and production indexing separately.

Identify the layer supplying a restriction

Inspect template meta tags, server/CDN X-Robots-Tag, robots.txt and actual access controls. Record build mode, relevant configuration and release identity without exposing secrets.

A production branch in source does not prove the delivered response used it. Shared header rules or cached artifacts can preserve old restrictions. Inspect actual responses and artifacts rather than stopping at a repository condition.

Make a GET request to an approved public production sample. Replace the example address below. Both files are saved in the current directory; choose new names for later runs to retain comparisons.

curl --silent --show-error --location --max-redirs 5 \
  --dump-header public-headers.txt --output public-page.html \
  'https://example.com/products/sample'

Read each response block for status, Location and X-Robots-Tag, identifying the final response separately from intermediate redirects. Inspect robots and canonical in the HTML, then compare the rendered DOM in a browser. curl does not run JavaScript. Verify private samples with an unauthenticated visit separately; do not paste login credentials into this command.

Test both intended states

Choose a page expected to be public and indexable, plus an intentionally restricted page. Save final URL, response, content, directives and canonical. Include downloads, languages and dedicated workflows where applicable.

Google’s noindex guidance explains the relationship with fetching. A crawl block does not establish that Google read a page-level restriction.

Environment, hostname, release and owner:
Sample URLs with approved access/indexing policy:
Application meta, headers, robots.txt and actual authorization:
Mismatching layer and evidence:
Repair scope, cache handling and rollback:
Acceptance: public and restricted samples both behave correctly

Repair the source rather than deleting globally

Before changing a shared CDN rule, identify affected hosts and paths. For templates, determine whether conditions run at build or request time. Repairing accidental noindex on a product must not remove protection from private downloads.

Request the public hostname again after release and inspect cache conditions where relevant. Keep before-and-after evidence. For misplaced tags, use the robots-tag investigation.

Preserve the indexing delay

An old GSC record may still show the previous restriction. Use a live test for current retrieval, retaining its date; observe later indexed status separately without promising immediate recovery.

The useful retrospective identifies the responsible layer, the missed test case and the reusable acceptance check. “Remember SEO before launch” gives the next release owner no executable procedure.