How can I edit my sitemap?

In this article, you'll learn how Weglot handles SEO regarding the sitemap and the hreflang tags.


With Weglot, you don't need to update your sitemap:

When it comes to multilingual SEO, Google gives 3 key guidelines to make sure translated pages are well-indexed:

- have unique and dedicated URLs for each language, which Weglot auto provides and creates with subdirectories or subdomains (depending on your integration)

- warn Google about the existence of other versions of the page, using either:

  • a sitemap
  • or the hreflang tags in the source code

Weglot automatically adds the hreflang tags to your website source, so editing your sitemap would be redundant.

Here's an example with subdirectories:

If you want a multilingual sitemap anyway, Weglot manages to do it for you.

However, this feature is only available if you are under the subdirectory integration.

⚠️ It is not available for WordPress projects.

Instead of the subdomain integration, subdirectories manage your full path URLs and allow Weglot to have a larger panel of possibilities. Multilingual sitemaps are one of them.

To better know the process to follow to set up subdirectories, you can consult this article we made.

Subdirectories are available for all plans and technologies.


Once done, we'll add a special option to inform Weglot that you want a multilingual sitemap.

All your translated URLs will be added to the sitemap.xml files and grouped by language.

To access a group, you have to follow the related URL. Here is an example of the English sitemap

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us