Skip to content Skip to sidebar

This topic contains 0 reply, has 0 voices.

Last updated by ayeletY-2 6 months, 3 weeks ago.

Assisted by: Bruno Kos.

Author Posts
October 3, 2025 at 8:20 am #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?