International SEO

I’m trying to add an hreflang tag to the header section of the website. How can I accomplish this?

Thx!!
Tom

Hi Tom! There is still no way to access code directly, even with WixCode. AFAIK - due to security reasons.
So, if this tag is not seo settings for the site - then it’s impossible to add it…

Thx so much Mikhail. Google says the hreflang tag is really important for multilingual sites and can be implemented through html OR the sitemap. Here is the brief explanation: Localized Versions of your Pages | Google Search Central  |  Documentation  |  Google for Developers

Is there a way to do this on Wix through the sitemap?
Thx!
Tom

In general, you can’t modify sitemap for your site directly (only one exception is custom router, but this is very specific case)

I think you can try to ask again in support about it…
But in general Wix SEO is good enough without specifically setting something special - that’s their approach, you should not worry about such things, it’s done “somewhere inside” - IMHO

I have exactly the same problem
@Mikhaildo: you have news about introducing hreflang tag in the header or in the site map ?

@Mikhaildo:
Hi
A hight member of the google forum gave me a solution and I wanted to have your opinion.
He suggested me to create a new sitemap with an other tool, like screaming frog, including the hreflang tags and to submit this new sitemap in the google search console.
What do you think about that ?
Thanks
Seb

Hello Seb,

If Google Search Console allows you to manually upload a sitemap file your solution should work.
However as you can see in this Google article , Google requires you to manually edit robots.txt to include the externally generated sitemap.

Hi Wix,

Bit confused to the behaviour of hreflang tag, as last month a had been warred by an audit of the site that there where incorrect href. So I took a look at the page source to see it and in my view what was there was correct hreflang=“x-default” great. I have now been warred that there is no href tag. had a look again and there is no sign of it.

So whats going on ? I don’t really need one as we only have our site in English and we do not have other language versions. But at lest can have a default instead of nothing. was this removed and why + whats your intent for hreflang tags.

I presume its due to a conflict with rel=canonical

I have also added a snippet of this event.

Woke up this morning to an email from Google Search Console saying i have Errors in hreflang tags.
Never had this or seen this before, so i am not sure what is going on. I find contacting Wix support very cumbersome and sometime just give up on finding an answer.
Anyone know anything about this?

Hi Ben and Gali,
This forum is specialised in Wix Code product.
Therefore, I suggest you contact Wix Support , as they can help you best.
Cheers,
Roi.

I got this email today too. I haven’t been able to find anything about this on the Wix site. Were you able to find any resolutions?

This is an old thread and is being closed.

For questions regarding SEO, contact the Wix support team , or check out the WixArena - it’s a hub where you can look for SEO and Corvid experts for hire.