Prompt
How do I check canonicals across thousands of pages?
Latest observation
Oct 21, 2026
OpenAI APIWeb search: off
To check canonicals across thousands of pages, use a mix of crawl tools, exports, and spot checks rather than inspecting pages manually.
Best ways to do it
1) Use a crawler
Tools like:
- Screaming Frog
- Sitebulb
- Ahrefs Site Audit
- Semrush Site Audit
- Oncrawl
What to check in the crawl:
- Canonical URL declared
- Canonical status:
- self-referencing
- canonical points to another page
- missing canonical
- canonical to non-200 page
- canonical chains
- canonical loops
- Indexability
- Duplicate pages / parameter URLs
2) Export canonical data
Most crawlers let you export a spreadsheet with:
- URL
- Canonical link element
- Canonical status
- HTTP status code
- Indexability
Then filter for problems like:
- canonical missing
- canonical mismatches
- canonicalized to redirected URLs
- canonicalized to 404/5xx pages
- canonicalized to blocked pages
- multiple canonicals in the HTML
- relative vs absolute errors
3) Check Google’s view
Use:
- Google Search Console
- Pages report
- URL Inspection
- Duplicate, Google chose different canonical than user
- Inspect a sample of important pages
This helps verify whether Google is respecting your canonical tags.
4) Spot-check with a script
If you have thousands of URLs, a lightweight script can fetch pages and extract canonical tags automatically.
Example logic:
- Read URLs from a sitemap or CSV
- Request each page
- Parse
<link rel="canonical" href="..."> - Save results to CSV
- Flag:
- missing canonicals
- more than one canonical
- canonical not on same domain
- canonical returning non-200
5) Compare against your sitemap
A good canonical setup usually means:
- Canonical URLs are the same as the preferred URLs in your sitemap
- Non-preferred duplicates point to the preferred version
If a page in your sitemap canonicalizes somewhere else, investigate.
Common issues to look for
- Missing canonical tags
- Multiple canonical tags on one page
- Canonical points to a redirected URL
- Canonical points to 404 or noindex page
- Canonical points to a different page than intended
- Canonical mismatch between HTTP and HTTPS or www/non-www
- Parameter and pagination canonicals behaving incorrectly
Practical workflow
- Crawl the site
- Export all canonical data
- Filter for errors
- Sample-check key templates
- Validate important URLs in Google Search Console
- Fix template-level issues first
If you want a fast setup
For thousands of pages, the easiest approach is usually:
- Screaming Frog + sitemap import + export
- then review in Excel/Google Sheets
- optionally validate with Search Console
If you want, I can also give you:
- a step-by-step Screaming Frog workflow
- a Python script to audit canonicals from a URL list
- or a Google Sheets formula approach for bulk checking.