I am building a multi-region site using Webflow’s new localisation feature. From my understanding, it’s very important for international SEO to have canonical tags set up correct in the HTML inline code. Webflow doesn’t seem to offer this functionality by default.
Is my only option to put canonical tags on each page manually?
Any help much appreciated.
The output I would like to see in the raw HTML is below.
Webflow generates these hreflang alt links automatically with localization.
Note however that it does not generate a self-referencing hreflang, which would be nice ( both types do exist in sitemap.xml )
@memetican
Self referencing hreflang just got added a few hours ago. So that’s finally fixed.
@Matt_nz
You can Webflow set canonicals automatically by providing the main URL in the SEO settings in “Global canonical tag URL”. However: I encountered that even if most localized URLs then are inserted correctly, some are missing the localization path portion of the URL thus leading to a 404…
I did not find a pattern yet, on why and where exactly this happens. Seems a bug to me.
So everything is ok except there’s technically a bug in that the homepage canonical and in the alt hrefLangs, in that the URLs end in /.
On Webflow’s setup, those paths are redirecting, e.g. /uk/ redirects to /uk. To Google, that indicates a mistake. A canonical should never redirect, because it’s meant to indicate the actual formally correct URL that should be indexed. Same with the hrefLangs.
For you, since you are using a directory for your default locale as well, that’s also getting picked up in the canonical.
You can notify support, it’s a systems level issue.
I reverse proxy all client sites so this is a pretty easy fix for me to do there and just deploy to all sites.
You could probably fix it with a client-side script as well, and have that be effective-enough for Google, but if you’re using an SEO analysis tool like screamingfrog, it will still scream.
Looking at my sitemap - the english (default) localization doesn’t seem to be getting labeled as canonical. When I visit alternate language pages, there’s a canonical tag pointing to the translated page.
That’s the correct behavior you want. The canonical defines the correct URL for the current page. If you’re on a localized page like https://www.yourmove.ai/es/profile-poet then the canonical should point to that localized version https://www.yourmove.ai/es/profile-poet.
The hreflang links are what tell search engines about the other variants, including the default.