Canonical URL Checker - Validate rel=canonical for SEO avatar
Canonical URL Checker - Validate rel=canonical for SEO

Pricing

Pay per usage

Go to Apify Store
Canonical URL Checker - Validate rel=canonical for SEO

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

Bikram Adhikari

Maintained by Community

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 /page and /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, title
  • canonicalCount, canonicalUrl, isSelfCanonical, redirected
  • warnings[], errors[]

Key-value store

  • SUMMARY – run totals
  • REPORT – 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 / REPORT keys (when present) for automation pipelines and monitoring.

Search keywords

canonical url checker, canonical url checker - validate rel=canonical for seo, website audit, seo, canonical url