1001Ferramentas
🔗 SEO

Canonical URL Builder

Builds a canonical URL from domain, path, and relevant params, stripping trackers.

Stripping trackers before the canonical

One page answers at five addresses because every campaign glued a utm_source, a gclid or an fbclid onto the end of the URL. Then Search Console tells you the page is a duplicate and that Google picked a different canonical. Paste the full messy address into the field labelled Entrada. You get back the cleaned version plus a ready link rel canonical line to drop into your head.

The cleanup removes a fixed list: utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, fbclid, mc_cid, mc_eid, ref and source, along with anything after the hash. Whatever else you had stays, and that is deliberate, because a parameter that changes the content, like id=42 or page=2, belongs in the canonical. Watch ref and source: if your site uses them as real filters rather than trackers, put them back by hand.

A canonical has to be absolute and, on most pages, point at the page itself. Type the address exactly the way your server answers it with a 200, since the tool does not choose between http and https, www or bare, trailing slash or none, and pointing at a URL that redirects weakens the signal. Remember it is a hint: if internal links and your sitemap favour another variant, Google follows the crowd.

Frequently asked questions

Should I strip every parameter?
Only the ones that do not change what the page shows. Pagination and filters that produce genuinely different listings have to stay, or you point distinct pages at one canonical.
Does a cross-domain canonical work?
It works when the content is essentially identical, which is the syndication case. If the original page is gone, a 301 redirect is the stronger signal.
Does it force https or remove a trailing slash?
No. It preserves the scheme and path exactly as typed, touching only the tracking parameters and the fragment.

Related Tools