Background of the issue:
I am using the free version of the Yoast SEO plugin on my website hidden link. German is the default language, and English and French are the secondary languages. I have also installed the WPML SEO plugin.
Symptoms:
In the Yoast Sitemap (hidden link), some translated pages display twice, such as the homepage for /en and /fr. Additionally, pages set to noindex, like hidden link, are still appearing in the sitemap for both English and French but for default German language everything is working fine.
Questions:
Why are some translated pages displaying multiple times in the sitemap?
Why are noindex pages still appearing in the sitemap?
Hi There!
Thanks for reaching out to WPML Support.
Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.
The issue you’re experiencing typically occurs when the WPML SEO plugin is not enabled. This plugin acts as a bridge for SEO tools like Yoast and Rank Math, ensuring that their features function correctly in a multilingual environment.
From the WPML Debug info, I can see that the WPML SEO plugin is active on your site. It’s possible that the sitemap hasn’t been updated correctly, which could be causing the duplicate links and noindex pages to appear in the sitemap.
Could you please try refreshing the sitemap by following the steps outlined in the link below and check if this resolves the issue?
- hidden link
Let us know the updates. We'll be happy to help if you need further assistance in this matter.
Thanks a lot for the reply. I checked the URL you provided. I already checked my sitemap URL, which is excluded from the cache. But still, this problem is there. Interestingly, the sitemap issue was not there at first, but after updating some content, this problem started.