Fix guides ยท Search fundamentals

Set a canonical URL

Add a self-referencing <link rel="canonical"> with an absolute URL.

Vendor documentation

What we check

We look for a <link rel="canonical"> on your homepage, and warn if there isn't one.

83%

of 198 sites we could read pass this.

Why it matters

This is optional. Google says "none of them are required; your site will likely do just fine without specifying a canonical preference."

It's still a strong signal when you have duplicate URLs, alongside redirects. Sitemap inclusion is a weaker one.

Don't use robots.txt or noindex to choose a canonical. Google advises against both.

How to fix it

  1. Add the tag to the page itself, pointing at its preferred URL.
  2. Use an absolute URL rather than a relative one.
<link rel="canonical" href="https://yoursite.com/">

Fix it yourself with AI

Small fixes shouldn't sit in a queue. Give your AI agent one prompt, and it fixes and deploys for you.

PromptShip is made by the team behind this checker.

Sources

Fixed it?

Run your site through the checker, and re-check after you ship to see what improved.

Check my site

Related guides