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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 10 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
July 4, 2024 at 6:32 pm #15893729

janyE

Background of the issue:
Hello, the website hidden link has 3 languages: Dutch, French, and English. The URLs for French and English are hidden link and hidden link respectively. However, the standard language Dutch does not have a language tag in the URL.

Symptoms:
SemRush rapport says that I have 77 hreflang conflicts within page source code. I think it is because there is no /nl in the URLs.

Questions:
Is it correct that the hreflang conflicts are due to the absence of /nl in the URLs?
How can I add /nl to the URLs for the Dutch language?

July 4, 2024 at 11:18 pm #15894336

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You can go to WPML > Languages > Language URL format and enable the option "Use directory for default language" but you might need to create a root page or a redirect template so that users will be redirected from sitename.com to sitename.com/nl.

Guide:
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/#displaying-your-sites-default-language-in-a-directory

Complete guide:
https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

Now, I do somehow doubt that the issues that SemRush is indicating are related to that. Maybe you could provide us more details about what SemRush is reporting?

Best regards
Andreas

The topic ‘[Closed] Standard language hasn’t the language tag in the url’ is closed to new replies.