WPML default language URL showing in sitemap
-
Hi,
We’ve recently noticed that there are some /us/ URLs appearing in our Yoast generated sitemap, when you try to navigate to them, the page 404’s. After some digging around, it appears that these URLs are the default language set in WPML. However, by setting the default language in WPML, it removes the language from the URL.
So, where https://www.example.com/us/ is the homepage, it would become just https://www.example.com
However, it appears that Yoast is still adding the original URL to the sitemap as well. This isn’t happening for every page, only certain ones, but it’s causing some issues in our Google Search console.
Anyone seen this before or have any ideas how to resolve?
- The topic ‘WPML default language URL showing in sitemap’ is closed to new replies.