Guides · Search visibility

Canonical URL

One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.

What audibot checks

Whether the HTML the server sends has a <link rel="canonical">.

Why it matters

The same page is often reachable at several URLs — with and without www, with a trailing slash, with tracking parameters. Without a canonical, search engines choose one themselves and split links and ranking signals between the copies.

How do I add a canonical URL to a page?

On every page, point rel="canonical" at the one absolute URL you want indexed for it. Pair it with redirects from the other hostnames.

HTML

<link rel="canonical" href="https://example.com/pricing">

As an HTTP header (for PDFs and other non-HTML files)

Link: <https://example.com/guide.pdf>; rel="canonical"

Related tools

Other checks in Search visibility

Search visibility in the methodology ·All guides

This check is one step of the website launch checklist.

Check your site

audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.