Canonical URL Checker - Validate rel=canonical for SEO
Pricing
Pay per usage
Canonical URL Checker - Validate rel=canonical for SEO
Check <link rel="canonical"> tags on any page to prevent duplicate-content SEO issues. Detects missing or multiple canonicals, invalid/relative canonicals, cross-domain canonicals, and mismatches after redirects.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Bikram Adhikari
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 hours ago
Last modified
Categories
Share
Audit canonical tags on any page or site to prevent duplicate-content issues and canonicalization mistakes.
This Actor fetches each page and checks:
- Missing
<link rel="canonical"> - Multiple canonical tags
- Invalid or relative canonical URLs
- Canonical that differs from the final loaded URL (after redirects)
- Optional cross-domain canonical warnings
Input
- Start URLs (
startUrls) – Pages to check. - Max pages (
maxPages) – Crawl limit. - Follow internal links (
followLinks) – Turn on for site-wide audits. - Max depth (
maxDepth) – Depth when following links. - Stay on same domain (
sameDomainOnly) – Avoid leaving the site. - Request timeout (
timeoutSecs) – Per-page processing timeout. - Normalize trailing slash (
normalizeTrailingSlash) – Treat/pageand/page/as the same for comparisons. - Allow cross-domain canonical (
allowCrossDomainCanonical) – If disabled, cross-domain canonicals are flagged. - Proxy (
proxyConfiguration) – Optional Apify Proxy.
Output
Dataset (per page)
Each dataset item includes:
url,loadedUrl,statusCode,titlecanonicalCount,canonicalUrl,isSelfCanonical,redirectedwarnings[],errors[]
Key-value store
SUMMARY– run totalsREPORT– compact per-page report
Example API usage
Run from API / CLI with an input like:
{"startUrls": [{"url": "https://example.com"}],"maxPages": 10,"followLinks": false}
Quick start
Store page: https://apify.com/scrappy_garden/canonical-url-checker
Paste this into Input and click Run:
{"startUrls": [{"url": "https://example.com/"}],"proxyConfiguration": {"useApifyProxy": false}}
Outputs (what you get)
- Dataset: Dataset items typically include fields like:
url,loadedUrl,statusCode,title,canonicalCount,canonicalUrl,isSelfCanonical,redirected,warnings,errors. - Key-value store:
REPORT,SUMMARY
Tips (trust + predictable results)
- Start with 1–3 URLs to validate behavior, then scale up.
- If a target blocks requests, enable Proxy and/or slow down concurrency in Input.
- Use the
SUMMARY/REPORTkeys (when present) for automation pipelines and monitoring.
Related actors
- broken-link-checker (https://apify.com/scrappy_garden/broken-link-checker)
- meta-tag-analyzer (https://apify.com/scrappy_garden/meta-tag-analyzer)
- security-headers-checker (https://apify.com/scrappy_garden/security-headers-checker)
Search keywords
canonical url checker, canonical url checker - validate rel=canonical for seo, website audit, seo, canonical url