Skip Navigation

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: 

This topic contains 5 replies, has 3 voices.

Last updated by Prosenjit Barman 1 year, 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
October 17, 2023 at 11:38 am #14593521

faizerF

We are currently using WPML as a translation plugin for our WordPress site. We have updated some (English page custom) links in the German translated page menu they are working fine as expected.

However, when a user selects an "insights" page and selects the german language the original German page is appearing on the page view, but we want to redirect to english version page.

And We also tried another approach the Redirect plugin to redirect the German pages to the English version we are fa

October 18, 2023 at 9:06 am #14600539

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

When a user chooses the German language, only the German content should be displayed on the frontend. However, to gain a clearer understanding of the problem, could you provide the link to the page and outline the steps to reproduce the issue?

I will check and guide you accordingly. Looking forward to your response.

Best regards,
Prosenjit

October 19, 2023 at 10:16 am #14613669

faizerF

We are currently using WPML as a translation plugin for our WordPress site. We have updated some (English page custom) links in the German translated page menu they are working fine as expected.

However, when a user selects an "insights" page and selects the german language the original German page is appearing on the page view, but we want to redirect to english version page.

And We also tried another approach the Redirect plugin to redirect the German pages to the English version we are failing.

Could you help us Redirecting?

Please watch this video for understanding

hidden link

Site :hidden link

October 19, 2023 at 10:29 am #14613875

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

As per our chat conversation, I have opened a private reply for you to safely share your site credentials.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

hidden link

For your privacy and security, please ensure that you make your reply a private one.

October 20, 2023 at 9:25 am #14622223

faizerF

Hi Team,

Test user has created. Please find the below details and help with this as soon as possible.

[Information Removed]

Issue: We are currently using WPML as a translation plugin for our WordPress site. We have updated some (English page custom) links in the German translated page menu they are working fine as expected.

However, when a user selects an "insights" page and selects the german language the original German page is appearing on the page view, but we want to redirect to english version page.

And We also tried another approach the Redirect plugin to redirect the German pages to the English version we are failing.

Could you help us Redirecting?

Please watch this video for understanding

hidden link

October 25, 2023 at 4:58 am #14652051

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

I checked the video and understood what you were looking for. While checking, I also noticed that you've added the link to the English page in the German menu.

However, Since the page has been translated into German, as per the standard workflow, the German page will be loaded when you try to switch to the German language. At present, WPML doesn't offer a direct feature to redirect to the English or default page when selecting a language from the switcher. To achieve this functionality, you'd need to implement custom code.

WPML provides specific hooks that could be beneficial in customizing the language switcher. For further details, refer to the following links:

- https://wpml.org/wpml-hook/wpml_language_switcher/
- https://wpml.org/documentation/support/wpml-coding-api/shortcodes/#wpml_language_switcher

For your information, we don't offer services or support for custom coding. However, we're here to guide you in the right direction. I hope you can understand.

If you want, you can also hire a contractor specialized in customizing WPML from here: https://wpml.org/contractors/

Let me know how it goes.

Best regards,
Prosenjit