דלג לתוכן דלג לסרגל צד

נושא זה מכיל 0 1, יש ל 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?