Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 2 voices.

Last updated by Nigel 1 year, 5 months ago.

Assisted by: Nigel.

Author Posts
June 22, 2023 at 3:27 pm #13879051

igorM-9

Tell us what you are trying to do?
Google search result is showing result in english instead of Croatian.
Croatian is main language, and internaly croatian is set as main languge, and all seo settings are written in croatian.

What is the link to your site?
hidden link

June 23, 2023 at 2:55 pm #13885811

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi Igor

Does this happen even when searching with your browser language settings set to Croatian from within Croatia?

Google displays different results to different users based on their language preferences and location, which could be relevant.

[edit - I updated the text below after re-checking your site]

When I check the head section of your homepage I found the following hreflang links:

<link rel="alternate" hreflang="hr" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="en" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="x-default" href="<em><u>hidden link</u></em>">

So, your page is correctly identifying the different language versions of your content to Google (as it details here: hidden link).

So the problem appears to be with Google and how users interact with its search, possibly because of browser language preferences or location, as suggested above.

June 23, 2023 at 4:17 pm #13886233

igorM-9

Hi,

It isn't local problem, I wish that is limited to me only 🙂

We are in process of hirind digital agency, and couple of them made analysys and got the results in english, they are all specialized for Croatia.

We are using Rank math, and all seo descriptions are in croatian, there I saw this message, and contacted you 🙂

Is there maybe some other settings that maybe be wrong?

I found one support article that mentions option "Make themes work multilingual" should be clicked, but I had some problem with displaying pages, and wpml support told me to turn that off, now I'm not sure what to do.

2023-06-23 18_16_11-Languages ‹ Hug Your Life — WordPress.png
2023-06-23 18_11_36-Sitemap Settings ‹ Hug Your Life — WordPress.png
June 26, 2023 at 10:39 am #13894595

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Well, I can see that everything on your site appears to be set correctly (specifically the hreflang tags in the head which tell Google about the different language versions of the same content), but let me at least see if I can see the problem you describe.

I can pretend to be in Croatia, searching in Croatian.

Can you propose some text I search for that will result in your site being shown in the search results?

June 26, 2023 at 3:25 pm #13896917

igorM-9

Hi,

you can try searching

hug your life - that is the ame of the brend, and webpage, you will also find our products on other sites in search results in croatina ofcouse 🙂

curcumin c3 complex - one of the products, google shows link to en page, also there is a lot of other sites that sells our product.

In attachemt is search result page, with my notes in what language is specific page.
Bosnian language is on some pages set to be copy of croatian, and it is disabled (hidden) in WPML options.

Br
Igor

download.jpeg
June 28, 2023 at 1:00 pm #13910303

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

I can see the problem, but I don't have much to offer by way of help, I'm afraid.

I used a browser extension to be able to visit Google and pretend to be a Croatian speaker, searching from Zagreb.

You can see the results I got in the screenshot.

The main link to the home page as well as the shop link are both problematic, linking to the English versions rather than the Croatian version.

So I checked the head sections of each page, both the Croatian and English versions, and the problem (the problem in terms of my being able to help you) is that they are both set up correctly.

These come from the head of the English home page at: hidden link

<link rel="canonical" href="<em><u>hidden link</u></em>">
<meta name="generator" content="WPML ver:4.6.3 stt:22,1;">
<link rel="alternate" hreflang="hr" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="en" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="x-default" href="<em><u>hidden link</u></em>">

That correctly includes an hreflang link back to the HR version.

And on the Croatian version of the home page itself at hidden link we have:

<link rel="canonical" href="<em><u>hidden link</u></em>">
<meta name="generator" content="WPML ver:4.6.3 stt:22,1;">
<link rel="alternate" hreflang="hr" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="en" href="<em><u>hidden link</u></em>">
<link rel="alternate" hreflang="x-default" href="<em><u>hidden link</u></em>">

So the correct information is all there, available to Google when it crawls the site. I can't account for why it doesn't display Croatian results to Croatian searchers, I'm afraid. From the perspective of the web site itself, everything appears correct.

You may need to consult with an SEO expert to understand better why the search results don't appear as expected.

Screenshot 2023-06-28 at 12.47.34.png
June 28, 2023 at 3:15 pm #13911497

igorM-9

Tahnk you for your help,

this is even bigger puzzle to me since when I search site itself on google it shows results correctly..
site:hidden link

2023-06-28 17_14_15-site_https___hugyourlife.eu_ - Google pretraživanje.png
June 29, 2023 at 8:38 am #13915837

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

That suggests that the hreflang links are set up correctly.

I used a tool to test if that was the case, and it said yes (screenshot).

(See hidden link)

And I read some of the articles on that site to see if I could spot anything that was wrong, but it does look like everything is set up correctly.

Unfortunately I can't explain the vagaries of how Google interprets them.

Screenshot 2023-06-29 at 09.32.56.png