What is a canonical URL, and how do you set it?
The Tasadr team · ·3 min read
A canonical URL is the address you prefer Google to show for a page that has several similar addresses, such as one with sorting parameters and one without. You set it with rel=canonical or a permanent redirect. It is a preference Google weighs with other signals, not a command it follows to the letter.
Also known as canonical URL · canonical tag · rel=canonical · canonical link · الرابط الأساسي · كانونيكال
On this page (7)
What is a canonical URL?
It is the address you treat as the preferred one among pages that are identical or very similar. When the same content opens at more than one address, such as a link with a tracking parameter and a clean link, you tell Google which one to show in results.
Google says that if you specify nothing, it picks the version it judges best for users. The canonical gathers the signals on one address instead of scattering them across copies.
Which methods set the canonical URL, and which is strongest?
Google lists three methods of different strength. A permanent redirect and the rel=canonical annotation are strong signals, and listing the address in a sitemap is a weak one. All are preferences Google weighs, not binding orders, so use one method and do not mix two that disagree.
Ways to set the canonical URL at Google Method Signal strength When to use it Permanent 301 redirect Strong When you remove the duplicate for good rel=canonical tag in the page or an HTTP header Strong When the similar copies stay available to visitors Listing the address in a sitemap Weak A boost to the stronger methods, not a substitute An Arab-market example: a shoe store in Riyadh
An illustrative example. A fictional store at riyadh-shoes.example has one sports shoe page that opens at three addresses: the clean one, one with a price sort and one with an ad campaign code. Google sees three pages for one product and splits the signals among them.
The store puts a canonical tag in all three that points to the clean address. Links and signals gather there, and Google will most likely show the address you chose in results, though it is not bound to.
What steps should you take to set the canonical URL?
Give every important page one preferred address, and point to it from every copy that follows it.
- Put in each page a canonical tag that points to its full address, with protocol and domain.
- Point the tag to a page that works, not a redirected or blocked one.
- List only the preferred addresses in your XML sitemap.
- Check in Google Search Console which address Google actually chose, with URL inspection.
- Review your key pages in AI Readiness.
Sources
- How to specify a canonical URL with rel=canonical and other methods · Google Search Central ·
Frequently asked questions
What is the difference between a canonical tag and a 301 redirect?
Does Google always follow the canonical I set?
Does the canonical URL matter to AI engines?
Try Tasadr free for 7 days
Add your site, write up to 10 questions your customers ask, and see who leads the answer today. No credit card needed.
Start your free trial