WPML erroneus and unexpected menu item redirection

Using WPML I have translated menus and pages.

When looking at the URL on the page everything is correct (as shown on the attached picture) but after clicking the link the page is redirected to the English page “About us”.

What can cause the erroneous redirection?

Here where to start:
http://test.vifranc.com/fr/contact/

Hi Shimoda,

Please kindly go to WordPress Dashboard > Settings > Permalinks and save the permalinks again. That will clear the permalinks cache, see if it helps.

Then please check the way you translated the about us page. Is it different than other pages? If yes then try to use the same way you translated other pages.

The last point is to check the menu item itself in WordPress Dashboard > Appearance > Menus, see what is the difference between the about us menu and others and try to change that to the other menus.

Thank you.

Hi @christopher.amirian

Thanks for the tips! Unfortunately I cannot find a solution.

1- I resave permalink without any noticeable change.
2- I guess I went through the same process of translating the text. Nothing seems to affect URL.
3- I cannot see any problem with the menu item when reviewing them. As shown in the picture above, the URL is good. The problem comes after clicking the menu item.

I made another test. From the French page “'A propos”, I click the preview link and end up on the “About us” page. So the problem is not with the menu but some sort of redirection like if the page would not exist.

How would this be possible?

Well, well, well.

Reviewing the .htaccess file I found a redirection rule that was put there when migrating from the old English/French to the new/actual website before it has again French pages.

The redirection rule was there to redirect from obsolete Google links.

RedirectMatch 301 /a-propos* /about-us/

After removing this line of code. Everything works as expected.

Thanks for your support.

Shame on me or I will live longer to see more glorious days! :slight_smile:

Hi Shimoda,

I am glad that you have managed to fix the problem :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.