Webflow+Weglot and hreflang errors

When running site audits on a Webflow site that is using Weglot for multilingual functionality, I get several hreflang related errors. Semrush is giving me “No self-referencing hreflang” on the original non-translated pages. Several other hreglang testing tools is giving me “Missing return link” on the same pages.

Site: https://no.vendanor.com/
Custom sitemap: https://no.vendanor.com/sitemap.xml

I do not find an obvious solution to these errors. Anybody have some pointers? The site use a custom sitemap, as Weglot does not support multilingual sitemaps. Can the problem be related to this?

Hello,
I have the same issue. Did you find a solution?

Yes, see bullet number 3 in the first post here:

1 Like

Hi @Christoffer

I’m having a hard time getting an answer from Weglot.
They tell me it must be that I pasted the code wrong (which I did not).

Would you be able to share that piece of code you mention in your thread please?

Thank you!

@Joachim_B

Basically you have to manually set up bidirectional hreflang tags in Webflow for every page with the full URL for all language versions. By default Weglot hreflang tags is not bidirectional because there is no way Weglot can access the head tag in the original Webflow page, hreflag tags is therefor only added to the translated pages where Weglot can access the html. Weglot does unfortunately not inform their users about this.

On the translated pages Weglot will automatically remove these manually added in Webflow.

image

Here is some good resources:

https://audisto.com/guides/hreflang/

1 Like

I apologize for not answering.
Your tip and Weglot’s staff helped me solved my issues.

Thanks a lot!

Could you share the solution with me? I have similar issues as hreflang is not correct for all pages besides the main page.

Hi @Tobias_Blasberg

Weglot adds correct hreflang tags to all the pages that is translated with Weglot, but NOT to the original pages in Webflow. By default, the Weglot script you paste in to Webflow custom code when setting up Weglot will add a hreflang root-URL (e.g: mysite.com/ ), but this will also be used on ALL sub pages, resulting in a wrong hreflang setup. Google will not be able to separate the different language versions in the SERP results. You will have to use a custom Github script supplied by the Weglot support team (on request) or set the correct hreflang tags manually on every page in Webflow.