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.
Tagged: Exception
This topic contains 3 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 10 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
September 17, 2023 at 3:15 pm #14408457 | |
lauraF-11 |
Hi, The original URL hidden link is redirected to hidden link (which is wrong because the page is in English and not French) The correct URL is I expected to see: Instead, I got: Please, can you help me to solve the issue? Many thanks |
September 19, 2023 at 7:27 am #14416697 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, On your site, The main page is: hidden link When I tried to switch to the French language, the French page[ hidden link ] loaded properly. Please check this video for a better understanding: hidden link Since everything appeared to function correctly during my review, Can you specify where you encountered the problem? Furthermore, after modifying the Language URL format, we suggest using WPML's "Link Target" tool. This helps in updating links in posts and strings to ensure they direct appropriately to the translated content. Please follow the steps mentioned below. - Please go to "WPML > Settings" Let me know if that helps or if you need further assistance in this matter. I will be happy to help. Best Regards, |
September 19, 2023 at 4:44 pm #14422633 | |
lauraF-11 |
Hi Prosenjit, Since I changed the URL from /?lang=fr to /fr/ Please, see the URL below: hidden link WPML redirect the above URL to hidden link (which is in English) The Ahrefs site audit report advise I have other 5 pages with the same issue: Example: WPML redirect to hidden link (which is in English) Many thanks |
September 20, 2023 at 5:09 am #14426121 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Laura, Using the redirection checker tool, I checked the link and found that the redirection to English posts is set by WordPress. Please check this screenshot for a better understanding: hidden link Kindly be informed that in case of a URL that does not exist or is incomplete, WordPress has a built-in redirection feature that can redirect them to the closest existing URL or suggest relevant content that matches the URL without causing an error or losing traffic. This feature is useful for maintaining the user experience and keeping the visitors engaged with the website. In your case, the same is also happening. As this post(hidden link) is not available, the WP Redirection is redirecting to the URL close to it, which is the post in English(hidden link). The redirection is solely managed by WordPress. If you want to change it, you can do that by using a Redirection plugin such as "Redirection". I hope I'm able to clarify it for you. But, feel free to let me know if there is anything else if you need help. I will be happy to assist. Best Regards, |