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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 1 year, 9 months ago.

Assisted by: Bobby.

Author Posts
September 20, 2023 at 3:12 pm #14431633

mazlumU

Hello WPML Support,

I'm experiencing an issue with my website, hidden link. The original content is in German, and we have translations in English.

Problem:
In the generated sitemap, each page translated to English appears with two URLs hidden link:
- Direct URL: e.g., hidden link
- With "/en" directory: e.g., hidden link

Objective:
- We would like to retain only the direct URL (without the "/en") in the sitemap for English translated pages.

Could you please assist in resolving this issue so that only one URL (without "/en") appears in the sitemap for English translated pages?

Thank you for your support.

September 20, 2023 at 11:17 pm #14433871

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

As the actual URL now contains the directory the correct sitemap would include just the directory and not the URL without the directory.

If possible please disable the sitemap feature, clear the cache, and enable the sitemap feature to force the sitemap to rebuild.
hidden link

Let me know your results, please.

The topic ‘[Closed] Duplicate URLs in Sitemap for English Translated Pages’ is closed to new replies.