internal links going to default language
-
I have a page in English only (i.e. it’s not translated into another language).
In the text I’ve manually added a link to /anotherpage/.
When I view the site in English it works fine. However, if I switch over to, say, Italian, then the link remains as /anotherpage/ and clicking on it will revert the site to English.
Is there a way to automatically have all internal page links to have the /language/ added to the URL if it’s not already there so the site doesn’t revert to the default language?
I was looking at WPGlobus_Utils::localize_url but I’ve no idea how to use this and – indeed – if it will do what I need.
Thanks!
- The topic ‘internal links going to default language’ is closed to new replies.