Перейти к содержимому Перейти к боковой панели

Помечено: 

Эта тема содержит 0 ответ, имеет 0 голосов.

Последнее обновление: ayeletY-2 6 месяцев, 2 недели назад.

При содействии: Bruno Kos.

Автор Сообщения
03.10.2025 в 08: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?