Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
After switching the WPML setup to use a directory for the default language (/de/), the homepage content partially disappeared. The header, main navigation menu, and all Elementor images and sections are missing on the German homepage, affecting the SEO as Google now sees /de/ as the canonical homepage.
Solution:
The issue might have occurred due to the site's rewrite base changing when the default language directory was updated, causing some URLs, especially those in Elementor's internal data, to retain the old path. To fix this, you can use the following command if your site runs on WordPress with WP-CLI installed:

wp search-replace 'https:\/\/nextgen-workforce.ch\/de\/wp-content\/uploads\/' 'https:\/\/nextgen-workforce.ch\/wp-content\/uploads\/'

If WP-CLI is not available, consider using a plugin like Better Search Replace. Always ensure to back up your site fully before running these commands.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.

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.

Tagged: 

This topic contains 43 replies, has 1 voice.

Last updated by Marcel 5 months, 1 week ago.

Assisted by: Bruno Kos.

Author Posts
November 11, 2025 at 10:36 am #17565766

homeP

All the images that are in English have German text on them, that's not good, everything needs to be translated.

November 11, 2025 at 11:16 am #17565875

homeP

hidden link

develope

November 11, 2025 at 3:43 pm #17567497

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Regarding the image translations — this behavior is not always automatic. WPML’s Media Translation feature only translates image meta information (like titles, captions, and alt text) when those images are used in translatable contexts on the frontend. You can read more about this here:
https://wpml.org/documentation/getting-started-guide/media-translation/#how-to-translate-media-meta-information

If an image does not appear on the frontend or isn’t required in a translated context, WPML will not translate it or consume translation credits unnecessarily.

For the development site — could you please replace URLs such as:
`hidden link`
with
`hidden link...`

Currently, many images still point to the live production site, which makes debugging difficult. You can update these using a plugin like https://wordpress.org/plugins/better-search-replace/.

Also, please note that the URLs in the database should not include the `/de/` path (e.g. `hidden link...`) — they should instead be:
`hidden link...`
Otherwise, this causes greyed-out images in the backend and 404 errors on the frontend.

Lastly, for troubleshooting purposes, would it be okay if I temporarily disable all plugins except WPML (on the staging site)? This will help isolate the issue and confirm whether it’s related to WPML or another plugin conflict.

old url.jpg
November 11, 2025 at 3:50 pm #17567611

homeP

They can do whatever they want in the development environment. It's a test environment after all. Just please do it as quickly as possible, because the entire website is currently in disabled mode!!!

The URL and the images must be SEO compatible. If Google reports any errors during indexing, I'll get back to you!

November 11, 2025 at 4:04 pm #17567664

homeP

Where is this option!

hidden link

I don't see the option to automatically translate all media here.

hidden link

November 12, 2025 at 8:08 am #17568985

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

I tried various things, also using Better Search Replace, but it has not worked.

I am consulting our 2nd tier about this and will keep you posted!

About the Media Translation, the setting is on WPML -> Settings.

media.jpg
replace.jpg
after replace.jpg
de added.jpg
November 12, 2025 at 11:04 am #17569995

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

To troubleshoot this problem (possibly a server issue or a setting), I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size.

You can find more information about the process here:
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#get-help-from-support

Please confirm if this approach is acceptable to you!

November 12, 2025 at 11:13 am #17570045

homeP

A server error! Now you're blaming a server error. This server is running two e-commerce websites and four WordPress sites. Please don't blame a server error. What can the server do about the fact that images are replaced with /de/ after changing the language?

Fix the bug in your plugin.

You can find all server information in WordPress:

hidden link

November 12, 2025 at 12:30 pm #17570587

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

I understand your concern — just to clarify, I didn’t mean to blame the server. I only mentioned that the issue might be related to a server configuration or another external factor, and that having a Duplicator package would help us debug it more effectively.

This is part of the recommended WPML troubleshooting process (as outlined here: https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#get-help-from-support
).

Could you please confirm if this approach is acceptable to you so I can proceed?

November 12, 2025 at 12:32 pm #17570599

homeP

You can check in your database that this theme is compatible. According to the author, it's 100% compatible.

The theme authors get confirmation from you.

November 12, 2025 at 12:49 pm #17570695

homeP

hidden link

hidden link

November 12, 2025 at 12:54 pm #17570761

homeP

hidden link

November 12, 2025 at 1:10 pm #17571007

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Just to clarify — theme authors can state that their product is “compatible with WPML”, but unless it’s listed in our official compatibility directory, that means it hasn’t been formally tested or approved by our team. The Nexis theme isn’t currently listed there, so I can’t confirm official compatibility.

At this stage, I’m not focusing on the theme itself, but rather trying to identify where the issue originates. Creating a Duplicator package is the standard step we use in such cases, as it allows us to reproduce the problem in a controlled environment and confirm whether it’s related to the theme, a plugin, or something else.

Could you please confirm if I can proceed with generating the Duplicator package?

November 12, 2025 at 1:16 pm #17571019

homeP

I have just contacted the support team of the theme.

November 12, 2025 at 2:46 pm #17571442

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

That’s perfectly fine — please let me know if the theme’s support team shares any updates.

In the meantime, if they need us to verify anything on our side, we’ll still need a Duplicator package to reproduce and debug the issue properly. Without it, we won’t be able to proceed with any technical investigation.