This thread is resolved. Here is a description of the problem and solution.
Problem:
The client updated their language parameter to /fr, /de, etc., and resubmitted their sitemaps to Google Search Console. However, the sitemap still included the old language format (?lang=), leading to incorrect pages being displayed in Google search results.
Solution:
1. We recommended the client to clear their website's cache, including server-side cache, to ensure that the sitemap is updated correctly.
2. We advised checking if the Rank Math SEO plugin has an option to refresh the sitemap_index.xml.
3. From the WPML side, no further action is required. However, we suggested that the client monitor Google indexing for any errors.
If you're experiencing a similar issue, we recommend you try the following steps:
- Clear your website's cache, including server-side cache.
- Check if your SEO plugin, such as Rank Math SEO, has an option to refresh the sitemap.
- Monitor Google indexing for any errors.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
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 3 replies, has 2 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Marsel Nikolli.