This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to ensure that their location pages were not published in Spanish and that visitors would only see the English version, even if they manually added
/es/
to the URL.
Solution:
We checked the location posts and confirmed that the language switcher does not appear, indicating that the posts are available only in English. If the client wants to prevent access to the Spanish version even when
/es/
is manually added to the URL, we advised setting the post type to
"Translatable - only show translated items"
and not translating the posts. This will ensure that any attempt to access a Spanish URL will redirect to the English version automatically.
If this solution does not seem relevant to your issue, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 2 replies, has 3 voices.
Last updated by 1 year, 3 months ago.
Assisted by: Osama Mersal.