Overview of the Issue
If you are using the Rank Math SEO plugin, specifically the Pro version with the News Sitemap feature enabled, the <news:language> tags within the news-sitemap.xml file can show the language code of the site’s default language for posts in secondary languages.
Rank Math SEO PRO 3.0.109 includes its own WPML support for this tag. It finds each post from its URL and uses the post’s language. When it can’t find the post from a secondary-language URL, it still uses the site’s default language.
Workaround
- Update Rank Math SEO PRO to its latest version. Its own WPML support sets the
<news:language>tag from the language of each post. - If the news sitemap still shows the default language code for some secondary-language posts, ask a support question.
Need Help with This Issue?
Ask a support question and we’ll look into it with you.
Ask a support question