تخطي إلى المحتوى تخطي إلى الشريط الجانبي

الوسوم: 

يحتوي هذا الموضوع 0 ردود ، لديه 0 أصوات.

آخر تحديث بواسطة ayeletY-2 قبل 6 أشهر، 3 أسابيع.

يساعده: Bruno Kos.

الكاتب المشاركات
3 أكتوبر، 2025 في 8:20 ص #17453771

ayeletY-2

Background of the issue:
I'm using WPML with Hebrew as the default language and English as the secondary language, each on its own domain. Currently, when a visitor tries to access a page in English that doesn’t have a translation, WPML falls back to showing the Hebrew version. I want to force WPML to return a 404 page (in English) instead of falling back to Hebrew, whenever an untranslated page is requested in English.

Symptoms:
WPML falls back to showing the Hebrew version of a page when an English translation is not available.

Questions:
Is there a way to force WPML to return a 404 page in English for untranslated pages in the secondary language?