跳过导航
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 -
- - - - - - -

支持者时区: Asia/Karachi (GMT+05:00)

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 Hichem Hamdani 2 months前 更新。

协助者:: Waqas Bin Hasan.

作者 文章
27 3 月, 2025 于 11:03 上午 #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): 隐藏链接

Translated (Arabic): 隐藏链接

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:
隐藏链接

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?

主题 '[關閉] Prevent WPML from Translating Post and Taxonomy Slugs' 已关闭,不再接受新回复。