A canonical URL tells search engines which version of a page is the authoritative one. It lives in your page’s HTML as a short line in the <head>:
<link rel="canonical" href="https://example.com/page-name" />
This matters because the same page content can often be reached via multiple URLs. For example:
https://example.com/pagehttps://example.com/page/https://example.com/page?utm_source=newsletterhttps://www.example.com/page
Without a canonical tag, search engines may treat these as four or five separate pages competing for the same ranking. That dilutes the SEO value of all of them, because the page’s authority is spread across multiple URLs instead of concentrated on one.

Why you’d have multiple URLs for the same page
The most common causes:
- Tracking parameters appended for analytics (
?utm_source=newsletter) - Trailing slashes inconsistently applied (
/pagevs/page/) - www vs non-www if your site allows both
- HTTPS vs HTTP during an incomplete security migration
- Pagination parameters (
?page=2or/page/2/)
Each of these creates a new URL that technically serves the same content. Canonical tags tell Google “regardless of how the visitor got here, this is the one true URL for this page.”
How to set canonical URLs in WordPress
If you’re using a modern SEO plugin, you probably don’t need to think about this at all. Yoast, Rank Math, and All in One SEO all set canonical tags automatically for every page, using the cleanest version of the URL. Just make sure the plugin is active and its sitemap / canonical features are enabled.
If you’re not running an SEO plugin, your theme may or may not handle canonical tags correctly. Check the HTML source of any page on your site — view source, search for `rel=”canonical”`. If it’s missing or wrong, install one of the SEO plugins.
When to manually override a canonical
Rare, but sometimes necessary:
- Duplicate content across domains: If you syndicate a blog post on another site, use a canonical tag pointing back to your original to avoid duplicate content penalties
- Product variations: An e-commerce site with a product in multiple colors might canonicalize all variants to the main product URL
- Seasonal/campaign landing pages: Temporary landing pages that duplicate permanent content can canonicalize to the permanent version
For most sites, the automatic plugin behavior is exactly right and you never need to touch this. It’s one of those SEO items that either “just works” or silently costs you traffic — checking once that canonical tags exist is all most people ever need to do.


