Canonical URLs · Practical guide
Canonical tags explained: choosing the preferred URL
The same content can be reachable through more than one URL. A canonical reference helps indicate which version you prefer search engines to use. It is most useful when it agrees with the rest of the site and points to a genuinely equivalent page.
Understand what a canonical reference does
A rel="canonical" link identifies a preferred URL for duplicate or very similar content. Google treats canonical annotations as a signal, not an instruction it must follow. The tag does not redirect a visitor, and Google may select another URL.
A canonical also is not an access restriction or a way to hide private content. Decide whether the requirement is consolidation, a permanent move or access control before choosing a mechanism.
<link rel="canonical" href="https://example.com/guides/caching"> Reference: Google Search Central: Consolidate duplicate URLs
Choose a destination that represents the same content
Compare the proposed destination with the page being audited. A tracking variation of an article and the clean article URL may represent the same content. A category listing and a single product generally serve different purposes; a shared template does not make them duplicates.
Look for template mistakes such as every page pointing to the homepage, a staging hostname remaining in production or a canonical inherited from another article. Open the destination deliberately and verify the actual content before applying a site-wide change.
Keep the surrounding signals consistent
Use the preferred URL consistently in internal links and sitemap entries. Avoid declaring one canonical in HTML while presenting conflicting preferences elsewhere. Google recommends absolute canonical URLs and consistent signals across your site.
SiteAudit extracts the first matching canonical from the fetched HTML and resolves its reference. It does not visit that target or prove that there is only one declaration. Inspect source templates if you suspect duplicate tags, and use Search Console to see Google’s selected canonical.
Verify a canonical change
Test both a normal page and a variant that was causing duplication. A homepage-only check will not catch a canonical hardcoded into a content template.
- Read the exact canonical value and compare it with the intended public URL.
- Check that the destination responds with the equivalent content and is suitable for indexing.
- Review the source for conflicting declarations and update internal links or sitemap entries as needed.
- Audit representative pages again and follow up on Google’s interpretation in Search Console.
Keep reading
Related guides
A practical technical SEO audit checklist
Review page access, metadata, canonical URLs and crawl controls, then turn a single-page audit into a useful action list.
Read guide Crawling and indexingrobots.txt vs noindex: which one should you use?
Understand the difference between limiting crawling and preventing indexing, including why blocking a noindex page can backfire.
Read guide