Sauter la navigation
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Fuseau horaire du supporter: Asia/Karachi (GMT+05:00)

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par Hichem Hamdani Il y a 2 semaines et 2 jours.

Assisté par: Waqas Bin Hasan.

Auteur Articles
mars 27, 2025 at 11:03 am #16867794

Hichem Hamdani

Background of the issue:
Hi,

I'm adding Arabic as a new language to my website using WPML, but I’ve noticed that when I translate posts and taxonomies, their slugs are automatically translated into Arabic, and /ar/ is added to the URL.

For example:

Original (French): lien caché

Translated (Arabic): lien caché

I want to keep the original slug structure and prevent WPML from translating post and taxonomy slugs. Ideally, the Arabic version should retain only the /ar/ prefix while keeping the original post or category name for example:
lien caché

How can I achieve this?

Symptoms:
The slugs of posts and taxonomies are automatically translated into Arabic when using WPML.

Questions:
How can I prevent WPML from translating post and taxonomy slugs while adding a new language?
Is there a way to keep the original slug structure in the translated version with just adding /ar at the web site url suffixe?

The topic ‘[Fermé] Prevent WPML from Translating Post and Taxonomy Slugs’ is closed to new replies.