How to stop WP automaticly changing URL's
-
Hey,
I’ve got a bit of an issue with how WP is handling URL’s.
I’ve created a site with 4 languages using WPML. However, I can’t use their language selector. I have to go through a start page where you choose your language, and that’ll direct you to the correct homepage.
This is where my problem comes in.
For my default language the homepage is https://www.domain.com/home (pageID 44).
The other language pages are https://www.domain.com/en/home, https://www.domain.com/fr/home and https://www.domain.com/es/home.
When I create the links to these pages WP detects that they’re actually all linking to pageID 44 because of WPML translations and changes my links to https://www.domain.com/home.How can I prevent this behaviour?
- The topic ‘How to stop WP automaticly changing URL's’ is closed to new replies.