Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

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 3 replies, has 2 voices.

Last updated by Riffaz 8 months ago.

Assigned support staff: Riffaz.

Author Posts
June 22, 2019 at 9:05 am #4070723


I have this already setup and or works ok.

My problem is with the old links that have the string.

I want to redirect them to the new urls.

to exemplify

any hidden link

must be permanently redirected to hidden link

How to do this?

June 22, 2019 at 12:35 pm #4071137


Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)


Thank you for contacting WPML support.

Actually this has nothing to with WPML.
You just have to write some .htaccess code for this.
Please refer:
1. hidden link
2. hidden link

Hopefully, this will help you.
If you want more details you can simply google this and you will find plenty.

Let me know if you need anything else.


June 22, 2019 at 12:59 pm #4071157



I know how to set a basic redirect.

And I tried a few methods already.

But they don't do anything, for whatever reason. I think it has to do with the way WPML works when you change the way language is switched.

IF it was something googleable it wouldn't have bothered asking.

The main problem is that the things I tried pass the parameter (?lang=en) into the target link, and that makes the link not work.

June 24, 2019 at 11:15 am #4076837


Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)


I checked with other as well.
All think this should work.

May I know how to check your issue?

I am setting the next reply private.
Let me know your dite and FTP login.

If I know the exact way to check your issue, I can escalate or check with second tier support.
Let me know the steps.
If it is necessary, I can create a duplicate of your site in our site for testing purpose.

Let me know.


The topic ‘[Closed] I want to change language redirect from string to subdomain’ is closed to new replies.