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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Mihai Apetrei 21 hours, 5 minutes ago.

Assisted by: Mihai Apetrei.

Author Posts
November 14, 2024 at 3:19 pm #16403567

judithR-10

Background of the issue:
I use WPML for translation of my site from German into English. The structure for German is like domain.de and domain.de/xy/. For English, it should be like domain.de/en/, domain.de/en/xy, and domain.de/en/category-page. I chose the setting 'Different languages in directories'.

Symptoms:
When I open the homepage for German, it opens like domain.de/de/ which should remain domain.de.
Now I have deactived all wpml plugins but still there is now: domain.de/de/de/de ???

Questions:
How can I configure WPML to keep the German homepage as domain.de without the /de/ directory and remove this bug domain.de/de/de/de ?

November 15, 2024 at 12:10 am #16405374

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Please make sure that inside WPML > Languages, you don't have this option active: use a directory for the default language.

Normally, the default language should exist on the main domain, not under a subdirectory.

Please let me know how things go.

Mihai

November 15, 2024 at 10:19 am #16407106

judithR-10

Hi,

thanks for your answer!

I have noticed there are many internal absolute links.
Is there any need to change them to relative links? I'm just wondering how internal links are transferred to the /en/..directory.

Thanks,
Judith

November 15, 2024 at 10:23 am #16407113

judithR-10

I want to avoid any conflicts and prepare everything before starting wpml. Is there a checklist available? This would be nice to have.

November 18, 2024 at 7:36 pm #16416426

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there, Judith.

We don't have a list for starting with WPML but we do have a "Getting Started guide" to help you with the WPML setup:
https://wpml.org/documentation/getting-started-guide/

The internal links are managed by WPML so when you switch the flag in the top black bar in the backend area and edit a page's content for example, you will affect the content for that specific language.