How to add a canonical URL
A canonical tag tells search engines which address is the main version of a page.
Why it matters
The same page often lives at several addresses (with and without www, with tracking codes). Without a canonical, search engines split its ranking between the copies or pick the wrong one.
Steps
- Add a link tag in the page head pointing to the preferred address.
- Use the full https address, without tracking parameters.
- Keep it identical on every duplicate version of the page.
For your developer
<link rel="canonical" href="https://example.com/page">
Check it worked
View the page source and search for rel="canonical". The address should match the one you want in search results.
Not sure if this affects your site?
Run a free scan to see exactly which of these your website needs.