Skip Navigation

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 Mihai Apetrei 1 month, 3 weeks ago.

Assigned support staff: Mihai Apetrei.

Author Posts
August 27, 2021 at 1:11 pm #9470895

harunK

Tell us what you are trying to do?
want to get separate sitemaps for different languages

Is there any documentation that you are following?
I have read out https://wpml.org/forums/topic/how-to-create-one-sitemap-xml-per-language/
But I don't want to change my URLs for each language.
Is there a similar example that we can see?
no
What is the link to your site?
hidden link

August 27, 2021 at 8:40 pm #9472731

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Things are working a little differently between WPML and Yoast.

WPML puts in "hreflang" tags into each page automatically so a different sitemap for each language is not needed.

I will leave you a couple of URLs that you can take a look at below:

- https://wpml.org/documentation/plugins-compatibility/optimize-multilingual-websites-using-rank-math-and-wpml/#rank-math-sitemaps-and-wpml

- https://wpml.org/forums/topic/sitemap-shows-links-to-content-in-two-languages/

- https://wpml.org/forums/topic/multilingual-sitemap/

- hidden link

Kind regards,
Mihai Apetrei

August 29, 2021 at 9:22 pm #9478911

harunK

Hi,
I have read out all these topics along with a bunch of topics from the support forum.

But I need separate sitemaps for all my languages. Kindly guide me on how could I get them. You can tell me any method by using Yoast SEO, rank math, all in one SEO, or by using any other plugin. My ultimate goal is to get sitemaps.

I hope you understand what I'm trying to explain.
Looking forward towards your replay:)
Regards:)

September 1, 2021 at 1:17 pm #9499755

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

The only way for that to happen is if you are using the "different domains per language" method (https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/) instead of the "domain/nl" form that you are using now.

If you want to keep things the same but still have a different sitemap per language, I recommend that you contact a WPML contractor (https://wpml.org/contractors/).

I hope that you will find this response helpful 🙂

Mihai