Skip Navigation

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

Problem:
The client wants to create separate sitemaps for each of the 7 languages on their website, but they could not find a way to do this within Rank Math SEO or WPML settings.

Solution:
We explained that the only way to have a different sitemap for each language is by using the 'different domains per language' option available in WPML. When using different directories for each language, only one sitemap is generated, which includes all languages. We provided documentation links for further guidance:

If this solution does not apply to your case, because it might be outdated or not relevant to your specific situation, we recommend opening a new support ticket. We also highly suggest checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

If you need further assistance, please contact our support team.

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 3 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 1 month ago.

Assisted by: Marsel Nikolli.

Author Posts
May 7, 2024 at 12:44 pm #15602057

haIr-centerO

Tell us what you are trying to do?

I could not come to an efficient result in my research on the internet about this.

Is there any documentation that you are following?

no.

Is there a similar example that we can see?

No, I don't have an example, but I know people who do.

What is the link to your site?

hidden link

Ekran görüntüsü 2024-05-07 154350.png
May 7, 2024 at 1:18 pm #15602213

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

Can you please elaborate the issue you are facing?

From what I was able to check on your website and the image you shared, it seems that everything is working properly.

Can you please share WPML support debug information from your site?

* To provide the debug information:

- Login to your site and go to WPML -> Support, in there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire text box content and copy it.
- Go back to our support forum, find the debug information box, and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

Kind regards,
Marsel

May 8, 2024 at 6:22 am #15604261

haIr-centerO

Here's the problem I'm having.
There are 7 languages on my site and I want to create a sitemap for all languages separately.

For example:
site.com/fr/sitemap
site.com/nl/sitemap

I want to create different sitemaps like this.

I haven't seen anything like this in rank math seo settings.
Not in wpml settings either.

Do you support such a system?
How to do it if you support it.

May 8, 2024 at 8:53 am #15604949

Marsel Nikolli

Hi,

I am afraid that the only way to have different sitemap per language is using the option different language per domain option (WPML -> Languages).

When using different directory per language there is only 1 sitemap generated and all the languages are included in that sitemap. Please find more detailed information in the links below:

- https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/#translate-sitemaps

- https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

Let me know if you have any other question.

Kind regards,
Marsel