A canonical URL is the version of a page you want search engines to treat as the primary one. You declare it with a <link rel="canonical"> tag in the head or an HTTP Link header, and it consolidates signals from duplicate or near-duplicate URLs.
Why it matters
One page can often be reached through several URLs: with tracking parameters, with and without a trailing slash, or over http and https. Without guidance, search engines choose one themselves and ranking signals may be split.
Canonical tags work best when combined with consistent internal links and sitemap entries that all use the preferred URL, so every signal points the same way.
Example
Both of these URLs show the same product:
https://shop.example/shoes?color=red&utm_source=news
https://shop.example/shoes
Each page includes:
<link rel="canonical" href="https://shop.example/shoes">
Common mistakes
- Pointing the canonical to a redirected or error URL.
- Using a relative or wrong-host URL by accident.
- Treating canonical as a command. It is a strong hint, and search engines can ignore it if signals conflict.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.