Closed jorenvh closed 8 years ago
Seems like it always takes the first records that it finds (over all the languages).
I have had that problem in the past. I was able to solve it by re-saving the permalink settings.
I am trying to take a more scientific approach to make sure it works in all situations.
Please try the latest version that just pushed. https://github.com/grappler/polylang-slug/archive/master.zip
I am going to release v0.2.0 tomorrow, it would be nice if you were able to test it beforehand.
I am going close this as I have not received any feedback.
Hi,
I use your code to be able to use the same slug for different pages across the languages on my site. This works totally fine on my local server but on my production server it just won't work.
I get the right url in my links but it keeps redirecting me to the other language then the selected one. WP versions ect are the same across all env. Only difference is that the production server is a microsoft Azure server.
I placed the file in 'mythemesfolder/polylang-slug.php' and then I require that file in my functions.php file of the theme above.
Do you have any suggestions on how to fix this?
Kind regards, Joren