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“ مغلق أمام الردود الجديدة.
إدارة الموافقة على ملفات تعريف الارتباط
نستخدم ملفات تعريف الارتباط لتحسين موقعنا الإلكتروني وخدماتنا.
تسمح لنا موافقتك بمعالجة بيانات مثل سلوك التصفح.
قد يؤثر عدم الموافقة على بعض الميزات.
وظيفي
نشط دائماً
مطلوب لكي يعمل موقعنا الإلكتروني ويتواصل بشكل صحيح.
التفضيلات
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
الإحصائيات
نستخدمها لتحليل إحصائيات موقعنا.
المعلومات التي يتم جمعها مجهولة الهوية تماماً. التخزين الفني أو الوصول الذي يتم استخدامه حصريًا لأغراض إحصائية مجهولة الهوية. بدون أمر قضائي، أو الامتثال الطوعي من قبل مزود خدمة الإنترنت الخاص بك، أو سجلات إضافية من طرف ثالث، لا يمكن عادةً استخدام المعلومات المخزنة أو المسترجعة لهذا الغرض بمفردها لتحديد هويتك.
التسويق
تقوم ملفات تعريف الارتباط هذه بتتبع تصفحك لتقديم إعلانات ذات صلة بك.