Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 9 replies, has 1 voice.

Last updated by abdul-alimB 2 days, 18 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
July 19, 2025 at 5:08 am #17252131

abdul-alimB

<b>Background of the issue: </b>
I am facing a major challenge with my website's redirections. I created a redirection from hidden link to hidden link, but it redirects to hidden link. This issue is occurring with many other URLs. I initially thought it was a problem with the Rank Math plugin, but their support informed me that the issue was caused by WPML.

<b>Symptoms: </b>
Redirections are pointing to incorrect URLs.

<b>Questions: </b>
Why are my redirections pointing to the wrong URLs?
How can I resolve the redirection issue caused by WPML?

wpml error.png
July 21, 2025 at 8:38 am #17254136

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Can you please just check few things for us:

Please make sure to create a backup, before doing any actions or check in staging site, just in case.

- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins
- Switch to WP default theme
- Check if the issue still happens.
- Disable WPML plugins, check if the issue still happens.

Let me know how it goes.

Regards,
Drazen

July 22, 2025 at 6:14 am #17257784

abdul-alimB

Dear Drazen,

The site has backup.

As for the other steps, I checked on those (disabling all other plugins save plugins &vice-versa), the redirect works when wpml is disabled. Hence, the problem seems clearly with wpmpl.

*Please see the screenshot of issue shown by rank math team.

kindly help resolving it as the issue is affecting scores of my pages on live site.

wpml error.png
July 22, 2025 at 1:00 pm #17259408

abdul-alimB

Despite charging a hefty amount for the software, your support is very slow and poor. I raised such a critical matter, scores of my pages are landing on wrong url, and you don't seem to care much.

July 23, 2025 at 8:10 pm #17265531

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for your patience while this was being reviewed.

I understand how critical this issue is for you, and I can see why it’s been frustrating.

I’ve looked into the redirect behavior and can confirm that it’s originating from WPML, which aligns with what the Rank Math team shared earlier.

>>> hidden link

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Server: nginx
Date: Wed, 23 Jul 2025 20:00:52 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: close
X-Redirect-By: WPML
Location: hidden link
X-Httpd-Modphp: 1
Host-Header: 6b7412fb82ca5edfd0917e3957f05d89
X-Proxy-Cache: MISS
X-Proxy-Cache-Info: 0301 NC:000000 UP:

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

July 24, 2025 at 8:17 pm #17269193

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

I believe the issue here is happening because the slug is /india for multiple treatment pages, therefore WPML does a match which overrules the 301 redirect and points it to the page it's pointing to.

The issue seems related to the following one, please review my colleagues response and let me know your results. Adjusting the URL slightly would resolve the redirection issues.

https://wpml.org/forums/topic/wpml-overruling-rankmath-redirects/

In the meantime I am going to further consult with our team about this and update you from our side as well.

July 25, 2025 at 6:01 am #17269939

abdul-alimB

Dear Bobby,

Thanks for your response.
If there is any rule that is overriding the 301 redirect, you need to find a way to stop that. I cannot change urls of thousands of my pages now; that will be a absolute disaster for seo! I hope you understand.

July 25, 2025 at 7:29 pm #17272006

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thanks for your message, and I completely understand your concern.

We’re looking into whether a rule is indeed overriding the 301 redirect and are doing our best to find a solution that doesn’t require any URL changes.

The case has been escalated to our second-tier team, and I’ll update you as soon as we hear back.

July 26, 2025 at 6:20 am #17272258

abdul-alimB

Dear Bobby,

Thank you so much for understanding the concern. I hope the team finds a solution soon that avoids the need for changing thousands of urls.

July 28, 2025 at 7:01 am #17273790

abdul-alimB

Dear Team,

I hope you had a good weekend!
Kindly help urgently with matter; hundreds of my pages are affected by this; and traffic and rank has tanked. Kindly consider this with utmost urgency!