Consolidating Duplicate URLs: Redirects, Canonical Tags and Sitemaps in Order of Strength

Consolidating Duplicate URLs: Redirects, Canonical Tags and Sitemaps in Order of Strength

When two URLs show the same page, Google picks one. You can help it pick the one you want. Google lists three methods in order of how strongly they influence the choice. This guide explains each and the mistakes that undo them.

I am Robiul Alom Ronju, Founder of Nexranking. The rules are from Google Search Central. My examples for trades sites are marked as mine. For the basics, see duplicate content and canonicals.

Consolidating duplicates: redirect is strongest, canonical is strong, sitemap is weakest
Order of strength. Built from Google Search Central.

The three methods

  1. Redirects (strongest). Use permanent redirects from the duplicate to the preferred URL, when you are retiring a duplicate page. Server side redirects take effect fastest.
  2. rel canonical (strong). Add a link element in the head of duplicate pages pointing to the preferred URL. An HTTP Link header can do this for files such as PDFs. Google recommends picking one approach rather than both.
  3. Sitemap inclusion (weakest). Listing a URL suggests it as canonical, but Google still decides duplicates by content similarity.

The methods can be combined, which raises the chance your preferred URL is the one shown. Google also prefers HTTPS over HTTP unless there are issues such as an invalid certificate.

What to avoid

  • Using robots.txt for canonicalisation. Disallowed URLs may still be indexed without content.
  • Using the URL removal tool for canonicalisation. It hides all versions.
  • Declaring different canonicals for the same page in different methods.
  • Specifying a URL fragment as canonical.
  • Using noindex to choose a canonical within a site. It blocks the page entirely.
  • Putting HTTP URLs in sitemaps instead of HTTPS.

Common mistakes

  • Relative paths in rel canonical. Use absolute URLs.
  • Conflicting URLs in the HTTP header and the HTML element.
  • Canonical tags outside the head, where they are not accepted.
  • JavaScript that changes the canonical element.
  • Internal links to duplicate URLs instead of the canonical one.
  • Using rel canonical for alternate language versions.
  • Missing self referential canonicals. Google recommends one on the canonical page itself.

A worked example

A plumbing site loads at both https://example.co.uk/ and https://www.example.co.uk/, and a plugin adds a canonical to each pointing to itself. The cleanest fix is a permanent redirect from one to the other, a canonical on the survivor, internal links to that version only, and a sitemap that lists it. Four signals, one answer.

Mistakes I see

  • Redirecting in one place and canonicalising to the other.
  • Leaving old http links inside the menu.
  • Using noindex on one of two duplicates.
  • Trusting a plugin without viewing the source.

See redirects for trades websites and how to build a sitemap. If you want your duplicates checked, ask for an audit.

Which method is strongest?

Google lists redirects as the strongest, then rel canonical, then sitemap inclusion.

Can I combine methods?

Yes. Google says this increases the chance your preferred URL appears.

Should I block duplicates with robots.txt?

No. Disallowed URLs may still be indexed without content.

Can I use noindex to pick a canonical?

Google says no. It blocks the page entirely.

Should canonical URLs be absolute?

Yes. Relative paths are a listed mistake.

Sources