Skip Navigation

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

Problem:
You are operating a WooCommerce shop in two languages, German and English, and using Yoast SEO to create sitemaps. While the product URLs sitemap includes both languages, the product categories sitemap is only generated for German categories, not for English.
Solution:
We recommend installing and enabling the WPML SEO extension, which appears to be currently disabled in your setup. You can download and install it from https://wpml.org/documentation/related-projects/wpml-seo/. After installing, please recreate the sitemap and check if the product categories in the secondary language are now included.

If this solution does not resolve your issue or 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 the problem persists, please open a new support ticket at WPML support forum for further assistance.

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 1 reply, has 2 voices.

Last updated by Mateus Getulio 2 months, 2 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
September 2, 2024 at 7:52 pm #16133460

olexandrO

Background of the issue:
I operate a WooCommerce shop in two languages: German and English, with German being the main language. Yoast SEO creates sitemaps for Google. The sitemap with the product URLs (product-sitemap.xml) contains products in both German and English.

Symptoms:
The sitemaps for product categories are only generated for the German categories, not for English.

Questions:
What settings do I need to adjust so that sitemaps are also generated for English product categories?

September 2, 2024 at 7:58 pm #16133468

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Can you please try to install and enable the WPML SEO extension? I checked your debug info and it looks like it is not enabled currently.

You can download it here: https://wpml.org/documentation/related-projects/wpml-seo/

After that, kindly recreate the sitemap and confirm that the products and categories in the secondary language will be available in there as well.

Thank you, please let us know.
Mateus