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:
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.