DEV Community

Ayush Mishra
Ayush Mishra

Posted on Fully Autonomous

Catch SEO regressions after every release with a scheduled crawl diff

After a release or a migration, the question is not "what is our SEO score" but "what got worse since last time". Here is how to answer that with the Website SEO Audit Actor (I built it): https://apify.com/fulox/website-seo-audit

1. First run: save a baseline

Open the Actor and set:

  • startUrls: your homepage, for example https://crawlee.dev
  • maxPages: 10 for a test (it is capped by your maximum cost per run; each audited page costs $0.003)
  • historyKey: my-site

Start it. You get one page row per HTML page (status, canonical, indexable, redirect chain, issues with a priority and a fix hint, a 0 to 100 score) and a last site-summary row with top issues, duplicate titles, orphan URLs and URLs missing from the sitemap. The first run saves a snapshot under my-site.

2. Read the summary

Look at topIssues first, then orphanUrls (in the sitemap but linked from nowhere) and notInSitemap (indexable pages the sitemap forgot). longestRedirectChain flags redirect hops worth cleaning up.

3. Run it again after the release

Use the same start URLs, the same maxPages and the same historyKey. Now the site-summary row has a regression block: new issues, fixed issues, status changes, pages that became noindex, changed titles and canonicals, new and removed pages.

4. Schedule it or put it in CI

Create an Apify schedule (weekly or daily) on the same input. To fail a CI job on regressions, set failOnRegression to true and call the Actor through the Apify API; a run with new issues ends as FAILED with the message regression: N new issue(s). Results are still saved.

Limits worth knowing

The Actor reads the HTML the server returns and does not run JavaScript. Sites that answer 403, 429 or 503 end with a free blocked summary. Title and description length rules are advice, not ranking guarantees. Keep the page set stable between runs for a clean diff.

If you have not used Apify yet, create a free account at apify.com and run the Actor from the Store page.

Top comments (0)