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 2 voices.

Last updated by stevenM-21 11 months, 3 weeks ago.

Assigned support staff: Ricardo Alday.

Author Posts
October 27, 2018 at 11:55 am #2855070

stevenM-21

Hello,

If we to go to peaceofcake.be/nl our website redirects to peaceofcake.be/en and that should never happen because our audience is 99% dutch and 1% english

Here's a video to illustrate the problem on my iPhone in safari private mode: hidden link

What is even more weird is that there is even a root.php page active that always redirects a user to peaceofcake.be/nl if no language is chosen so no idea why my website redirects to peaceofcake.be/en

Underneath you'll find the content of the root.php.

Thanks
Steven

______________________________

root.php:

_ _

<?php
Header("Location: hidden link");
?>

______________________________

October 29, 2018 at 11:28 pm #2859818

Ricardo Alday

Hi Steven,

Is this just a duplicate ticket?
I thought this had been fixed as per this ticket: https://wpml.org/forums/topic/site-does-not-redirect-to-correct-language-and-loads-old-frontpage/page/2/#post-2849978

Using this technique: https://wpml.org/forums/topic/after-recent-updates-root-link-displays-blank-but-language-directories-work/

Not the one you posted on this ticket.

October 31, 2018 at 8:40 pm #2867458

stevenM-21

My issue is resolved now. Thank you!