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

Last updated by Dražen 1 year, 7 months ago.

Assisted by: Dražen.

Author Posts
August 30, 2023 at 2:02 pm #14314493

wojciechK-8

Hello,

I have a site which runs Page as Subdomain plugin and has 2 subdomains

hidden link
hidden link

and their English version

hidden link
hidden link

(Polish is the default language)

I recently migrated from qTranslate-X to WPML and after the migration the Polish subdomains are working fine, but the English ones redirect to

hidden link
hidden link

I tried to redirect them back in htaccess, but it created a redirection loop.

Could you please tell me if there is a way to stop WPML from redirecting those URL-s:
hidden link -> hidden link
hidden link -> hidden link

so that I can redirect them myself in opposite direction?

September 1, 2023 at 7:09 am #14324627

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

as you mentioned I think the issue is with the page as a subdomain plugin, I do not see it on our compatible plugins, nor do I think it will work configuration that you mentioned.

What I suggest is creating such configuration manually, for example:

1) Have a working website with WPML:

- hidden link / hidden link

2) Create a redirect or configuration (Alias) via your domain/hosting setup, so that the next domain open the same website

hidden link / hidden link

Please let me know if this makes sense or if I have misunderstood something and your needs.

Regards,
Drazen

September 1, 2023 at 1:36 pm #14326915

wojciechK-8

Thank you for your reply. 🙂

I have already created aliases.

I tried to set up redirects in htaccess, but I get a redirection loop.

I've noticed that WPML automatically creates redirects for the second language (some of my old URL-s changed and got redirected automatically)

Basically what I want to do is to disable WPML's redirections - is that possible?

Regards

September 4, 2023 at 6:51 am #14333777

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

it is difficult for me to say since I am not sure if are you still using that mentioned plugin or have any other that might be causing issues with WPML.

The only settings you can enable /disable for WPML are from WPML > Languages > How to handle languages without translation. Other than that there is no way to disable any redirects since they also affect from server side, and WP/WPML always tries to find a related URL and redirect it to that.

Regards,
Drazen