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 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 5 days, 19 hours ago.

Assisted by: Christopher Amirian.

Author Posts
November 7, 2024 at 12:02 pm #16376924

lukasP-26

Background of the issue:
I am using WPML for translations on my website hidden link. When translating pages, each translated page can still be accessed using the original English slug. For example, if our source page URL is hidden link and the German translation URL is hidden link, the German page is also accessible at hidden link (original English slug). We occasionally want to keep the original slug for certain translations, but this behavior can lead to duplicate indexing issues.

Symptoms:
Translated pages are accessible via the original slug, causing potential indexing issues for the incorrect URLs.

Questions:
Is it intended behavior in WPML for translated pages to be accessible using the original slug?
Is there a way to prevent translated pages from being accessible using the original slug?

November 7, 2024 at 12:24 pm #16377102

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I have an answer. As I guessed there is no issue with that.

WordPress tries guessing the URL before throwing a 404 ... this shouldn't be a problem and wont be considered as a duplicate if its not linked anywhere.

Try these URLs, they all return results
hidden link
hidden link
hidden link
hidden link

You can learn more about that feature of WordPress here:

https://developer.wordpress.org/reference/functions/redirect_guess_404_permalink/

Thanks.