A canonical tag (also known as rel=”canonical” tags) is a way of telling search engines that a specific URL represents the primary or preferred address of a web page.
Search engines may perceive each URL variation (e.g., http vs. https or www vs. non-www) as a different address, so using a canonical tag tells search engines which version of a URL you want to appear in their search results.
Although Google’s algorithm has advanced to the point where it can often identify duplicate content on its own, setting canonical tags is a best practice to stay ahead of algorithms and has additional advantages.
Learn more about canonical URLs in this Moz article and related Google Search Central documentation.
There are multiple approaches to setting up canonical tags in Webflow.
Be sure to choose only one of the following methods, as duplicate or conflicting canonical tags may confuse search engines and negate its intended effects.
You can set up your Webflow site to automatically and dynamically add the canonical tag on each of your published pages, including each unique URL slug.
Manually managing a custom canonical tag on each page (instead of automatically setting a self-referencing one) may be preferable in certain scenarios, such as complex SEO strategies or content syndication.
To manually set your canonical tags, you can add the appropriate canonical tag through the Page settings > Custom code sections (inside the <head> tag) for each of your pages.
Static pages should include the exact, absolute URL you want to set as the canonical, e.g. https://www.acme.com —
CMS template pages can be set up to dynamically include the item’s page slug (another custom Plain text field, if desired).
While Google doesn’t recommend using JavaScript for canonical tags, it is possible to inject them with JavaScript. Google Search will pick up the injected canonical URL when rendering the page. This may be desirable or necessary in certain scenarios — such as rewriting Webflow’s self-referencing tags with a reverse proxy setup, or overriding a self-referencing tag on a single page — but is not generally a preferred practice.
When making any major changes like an updated canonical tag, remember to ask Google to recrawl your site to ensure search results are updated as quickly as possible.