freecourses.digital
Lesson progress: 0 of 3 activities done
All lessons in Technical SEO Auditing Lesson 12.5 of 84

Testing Website Changes Before Deployment

What we will go through

  • Why pre-deployment SEO testing prevents most regressions
  • How to crawl a protected staging site
  • How to compare staging with production
  • A pre-launch SEO QA checklist

Short answer

Test SEO changes on a password-protected staging site before release. Crawl staging with authentication, compare it with a production crawl using URL mapping, and check status codes, redirects, canonicals, robots directives, titles, rendering, and structured data. Confirm staging-only settings, like noindex or blocked robots.txt, will not reach production, then sign off.

In Lesson 1.3, a clinic lost its pages for five days because staging’s “discourage search engines” setting went live. Ten minutes of pre-deployment testing would have caught it. This lesson builds that habit into every release.

Protect staging properly

  • Password protection (HTTP authentication), not just robots.txt.
  • Noindex on staging is fine, as long as it is configured to never deploy to production.

Crawl staging safely

  1. Add staging login details in your crawler’s authentication settings.
  2. Load your saved configuration.
  3. Use URL mapping in compare mode to match staging.example.ph to www.example.ph.
  4. Compare staging against the latest production crawl.

Pre-launch SEO checklist

  • No unexpected status code changes or new 404s
  • Redirects for any changed URLs, one hop to the right destination
  • Canonicals point to production URLs, not staging
  • Meta robots and robots.txt will be production versions
  • Titles, descriptions, H1s unchanged unless planned
  • Internal links do not point to staging hosts
  • Content and links render correctly with JavaScript
  • Structured data valid and unchanged unless planned
  • Core Web Vitals lab tests not worse
  • Analytics and Search Console verification tags present

Practice: catch before launch?

Sort each item into the right group.

  • Canonicals point to staging.example.ph

  • Planned title changes on 5 pages

  • Production robots.txt would be Disallow: /

  • Redirects map old URLs to correct new ones in one hop

  • Analytics tag missing from new template

Common mistakes

  • robots.txt-only staging protection.
  • Staging settings deployed to production.
  • No SEO step in the release process.
1. Best way to protect staging?
2. What does URL mapping do?
3. Canonicals on staging point to staging URLs. Risk at launch?

Your action

Next, you will confirm fixes with Search Console and other evidence.

Key terms

Staging site
A private copy of the website used to test changes before they go live.
Authenticated crawl
A crawl that logs in with a username and password to access protected staging.
URL mapping
Rewriting staging URLs to production URLs so crawls can be compared.
SEO sign-off
An approval step confirming SEO checks passed before deployment.

Questions beginners ask

Should staging be blocked with robots.txt?

Use password protection instead. Robots.txt does not stop indexing of linked staging URLs, and blocked rules often get copied to production.

What if there is no staging site?

Test on a single page or section first, crawl immediately after release, and keep a rollback plan ready.

Can I test JavaScript changes on staging?

Yes. Crawl with rendering enabled. URL Inspection cannot reach password-protected pages, so use your crawler and Chrome DevTools.

Who should own SEO sign-off?

The SEO lead or auditor, added as a required step in the release process for templates, migrations, and plugin updates.

Related lessons

Want someone to handle SEO for your business while you learn? The team at Remar Digital can help.