Back to Blog
    Digital Marketing21 November 2026

    5 canonical URL examples that show how the tag works

    5 canonical URL examples that show how the tag works

    A canonical URL is the version of a web page you want search engines to treat as the definitive one. You signal it using the rel="canonical" tag in a page's HTML head. For example, if example.com/shoes and example.com/shoes?colour=red both load the same content, you tell Google which one counts.

    Key takeaways

    • The rel="canonical" tag sits inside the <head> element and points to the preferred URL using the syntax <link rel="canonical" href="https://yourdomain.com/preferred-page/" />.
    • Without a canonical tag, duplicate or near-duplicate pages split their SEO value, meaning neither version may rank as well as one consolidated page would.
    • A canonical tag is a strong hint, not an absolute directive. Google may override it if it judges another URL to be a better fit.
    • Canonical tags work across domains, not just within a single site, which matters if you syndicate content to third-party publishers.
    • Getting canonicalisation wrong is one of the most common technical SEO errors on small business websites.

    What actually counts as a canonical URL?

    A canonical URL is the single, authoritative address for a piece of content. When multiple URLs serve identical or substantially similar content, search engines have to pick one to index and rank. The canonical tag is how you make that choice yourself, rather than leaving it to the algorithm.

    The HTML looks like this, placed inside the <head> of your page:

    <link rel="canonical" href="https://www.yourdomain.co.uk/preferred-page/" />
    

    A page can even point to itself as its own canonical. That self-referencing canonical is considered best practice on every URL, even ones with no duplicates, because it closes off the possibility of parameters or tracking codes accidentally creating a competing version.

    Why does this matter for a small business website?

    Duplicate content is more common than most website owners realise. Session IDs, tracking parameters, pagination, printer-friendly versions and HTTP versus HTTPS variations can all create multiple URLs that serve the same underlying page. Each duplicate dilutes the signals (links, engagement, authority) that would otherwise concentrate on one strong page.

    For a small business competing in a specific local or niche market, consolidated ranking signals matter. A single well-optimised product page outperforms two thin near-duplicates every time.

    5 canonical URL examples that show how the tag works

    1. HTTP vs HTTPS duplicate

    The problem: http://www.example.co.uk/services/ and https://www.example.co.uk/services/ are treated as separate URLs.

    The fix: The HTTPS version carries the canonical tag pointing to itself: <link rel="canonical" href="https://www.example.co.uk/services/" />

    The HTTP version either redirects to HTTPS (preferred) or also carries the same canonical pointing to the HTTPS URL.

    2. Trailing slash vs no trailing slash

    The problem: https://example.co.uk/about and https://example.co.uk/about/ load identical content.

    The fix: Choose one version, apply a 301 redirect from the other, and place a self-referencing canonical on your chosen version. Without the redirect, the canonical alone may not be enough if external sites link to both versions.

    3. URL parameters from filters or tracking

    The problem: An e-commerce category page exists at https://example.co.uk/running-shoes/ but the same page also loads at https://example.co.uk/running-shoes/?sort=price&colour=black when a visitor applies filters.

    The fix: Every filtered or parameterised variant carries a canonical pointing back to the clean base URL: <link rel="canonical" href="https://example.co.uk/running-shoes/" />

    This is one of the most common technical SEO errors on product-heavy sites, and one of the simplest to fix at the template level.

    4. WWW vs non-WWW

    The problem: https://www.example.co.uk/blog/ and https://example.co.uk/blog/ are distinct URLs to a search engine.

    The fix: Decide on one version, enforce it with a sitewide 301 redirect, and ensure every canonical tag uses your chosen domain format consistently. Mixing www and non-www in canonical tags across different pages sends contradictory signals.

    5. Syndicated content on a third-party site

    The problem: You publish an article on your site, then it appears in full on a partner site or industry publication. Now two versions compete for the same query.

    The fix: Ask the third-party publisher to add a cross-domain canonical on their version pointing back to your original URL: <link rel="canonical" href="https://yourdomain.co.uk/original-article/" />

    This passes authority back to you rather than splitting it. If the publisher refuses, a noindex tag on their version is the fallback.

    Canonical tag vs 301 redirect: which one should you use?

    Situation Use canonical tag Use 301 redirect
    Two live URLs must stay accessible Yes No
    One URL is permanently retired No Yes
    Filter or parameter variants Yes Rarely practical
    Old domain moving to new domain No Yes, plus canonical
    Syndicated content on external site Yes (cross-domain) Not applicable

    The rule of thumb: if the duplicate URL needs to remain live and accessible to users, use a canonical. If you can retire the URL entirely, a 301 redirect is cleaner and more authoritative.

    What are the limits of the canonical tag?

    The canonical tag is a hint, not a command. Google's documentation states explicitly that it may ignore a canonical if the tag conflicts with other signals, such as a sitemap listing a different URL as the primary version, or if internal links consistently point to the non-canonical version.

    Three common mistakes undermine canonical tags entirely. First, placing the canonical in the <body> instead of the <head>. Second, chaining canonicals (page A points to page B, which points to page C). Third, adding a noindex tag to the canonical URL itself, which tells Google to ignore the very page you declared authoritative.

    If you want a thorough check of how your site handles these signals, our SEO agency runs structured technical audits that surface canonicalisation issues alongside the other factors that affect rankings. You can also read our guide to building an XML sitemap Google will actually crawl for the complementary side of this technical picture.

    If you'd like Revolve to review your site's canonical setup and flag anything that may be costing you ranking strength, get in touch directly at support@revolveagency.co.uk.

    Frequently asked questions

    Does every page on my website need a canonical tag? Yes. Even pages with no obvious duplicates benefit from a self-referencing canonical tag. It prevents tracking parameters or future URL variations from accidentally creating a competing version without your knowledge.

    Can I use a canonical tag and a 301 redirect at the same time? You can, and in some migration scenarios it makes sense. When moving from an old domain to a new one, for instance, a 301 redirect handles the user journey while cross-domain canonicals reinforce which URL you want indexed. Using both is not harmful as long as they point in the same direction.

    What is a properly optimised URL structure to pair with a canonical tag? A well-structured URL is short, lowercase, uses hyphens to separate words, omits unnecessary parameters and reflects the page's topic clearly (for example, yourdomain.co.uk/services/seo-audit/). The canonical tag then locks in that clean version as the one Google indexes. URL structure and canonical tags work together: a tidy URL is easier to canonicalise consistently across a large site.

    Will a canonical tag fix a thin content problem? No. A canonical tag consolidates duplicate URLs but it does not improve the quality of the content on the page. If the canonicalised page is thin or unhelpful, it will still struggle to rank. Address the content quality first, then confirm the canonical is in place.

    What happens if two pages on my site both point to each other as the canonical? Google will ignore both tags and decide independently which URL to treat as canonical, usually based on which one has more internal links pointing to it. Circular canonicals are a configuration error and should be corrected as soon as they are found.

    Written by the Revolve team, a digital marketing agency based in Banbury, Oxfordshire, delivering SEO, AEO and paid advertising for small and mid-sized UK businesses.

    Last updated: 21 November 2026

    By Revolve

    Need expert support on search, paid media or measurement?

    Get in Touch →