Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to have one integrated sitemap for all languages while using WordPress SEO by Yoast but is encountering separate sitemaps for each language.
Solution:
If you're experiencing this issue, we recommend you follow these steps:
1. Ensure you have taken a backup of your site for safety reasons.
2. Install the WPML SEO plugin, which is necessary for the Yoast SEO plugin to function with multiple languages. You can install it from your WP Dashboard under Plugins > Add New Plugin > Commercial tab, or directly download it from here.
3. Navigate to Yoast SEO > Settings page.
4. Disable the XML Sitemap option, save changes, then enable it again and save changes.
5. Check your sitemap at https://alpitools.com/page-sitemap.xml to see if the issue is resolved.
For more detailed instructions, please visit this documentation.

If this solution does not apply to your case, or if it seems outdated, we 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. If you still need assistance, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Noman 1 week, 3 days ago.

Assisted by: Noman.

Author Posts
December 13, 2024 at 3:16 pm #16511889

Thomas Maier

Background of the issue:
I am trying to have one sitemap with all languages integrated while using WordPress SEO by Yoast. I found this link https://wpml.org/errata/different-sitemaps-per-language-while-using-wordpress-seo-by-yoast/ which suggests the issue should be resolved. My current sitemap can be seen here: hidden link, but there is also a separate sitemap for Italian: hidden link. Why that?!

Symptoms:
I expected to have a single sitemap for all languages, but I still see separate sitemaps for each language.

Questions:
Why do I still have separate sitemaps for each language?
How can I integrate all languages into one sitemap?

December 15, 2024 at 8:09 am #16514483

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. It seems the WPML SEO plugin is not installed/activated on your site which is necessary to work Yoast SEO plugin in secondary languages.

Can you please make sure to follow the below steps and see if this resolves the issue:

1. Take a backup of your site first for safety reasons.
2. Please make sure to install the WPML SEO plugin. If the WPML plugin is registered on your site, you should be able to install it from WP Dashboard >> Plugins >> Add New Plugin >> Commercial tab page, or directly download it from here: https://wpml.org/download/yoast-seo-multilingual/?section=changelog
3. Go to the Yoast SEO >> Settings page.
4. Disable the XML Sitemap option as you can see in the attached screenshot.
5. Press the Save changes button.
6. Enable the XML Sitemap option again and press the Save changes button.
7. Visit the sitemap page: hidden link and see if this resolves the issue.

Here is a doc for more details:
https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/

Kindly let me know the results,
Thank you

xml_sitemap_1.png
December 18, 2024 at 7:38 am #16524367

Thomas Maier

Okay but this was working without installing the pluign WPML SEO some time ago. Since when do we have to install that for multilanguage sitemap?

December 18, 2024 at 8:47 am #16524749

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your response.

The WPML SEO plugin is required to ensure full compatibility between WPML and Yoast SEO for multilingual sitemaps. While it may have worked previously without the plugin, recent updates to either WPML or Yoast SEO may have introduced changes that now require the WPML SEO plugin for proper functionality.

Installing and activating the WPML SEO plugin will allow Yoast SEO to generate a unified sitemap for all languages.

Please let me know if you encounter any issues during the setup.

Thank you