Canonical URL Checker - Validate rel=canonical for SEO
Pricing
$4.99/month + 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
$4.99/month + usage
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
5 months 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
