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 4 replies, has 1 voice.

Last updated by Dražen 3 months, 3 weeks ago.

Assisted by: Dražen.

Author Posts
March 12, 2025 at 10:27 am #16806182

grainneK

Background of the issue:
I am trying to use euro redirects within my site. I have redirected an old URL to redirect to the new URL in Portuguese. Both of these URLs originally were Portuguese. Here is the old URL: hidden link and here is the URL that I wanted to be directed to: hidden link

Symptoms:
When it redirects, it now redirects to the English version of the Portuguese URL. Instead of seeing the expected URL, I got: hidden link

Questions:
Why is the redirect going to the English version instead of the Portuguese version?
How can I ensure the redirect points to the correct Portuguese URL?

March 14, 2025 at 7:17 am #16814653

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

When calling your link in the browser is redirects to:

hidden link

As you can see, it uses "#38;" instead of "?" or its HTML entity and this is why the language parameter can not work. There should be an ampersand before #38.

Could you please provide more details about how you created this redirect?

Are you using the plugin "Quick Page/Post Redirect Plugin" for this purpose? If so, please add osme screenshots about how this redirect was added.

Best regards
Andreas

March 14, 2025 at 10:20 am #16815736

grainneK

Thanks Andreas, I created the redirect using "Quick Redirects" - I cannot attach screenshots since I keep getting error messages when I try - should I be using a different plugin?

March 14, 2025 at 10:21 am #16815737

grainneK

here they are!

Screenshot 2025-03-14 at 10.18.40.png
Screenshot 2025-03-14 at 10.14.44.png
Screenshot 2025-03-14 at 10.14.25.png
March 17, 2025 at 7:50 am #16823205

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

I see it redirects to wrong page but it also open wrong URL if you try to visit this URL: hidden link

1) Are you sure, this URL opened and worked fine before without redirect?

2) Does redirect even work fine when the WPML plugin is disabled? It should work fine even without WPML. Since it is a redirect rule, it might return 404 without WPML but still should redirect from your old to new URL.

Please check as it might not be directly related to WPML plugins.

Regards,
Drazen

Trace Results _ WhereGoes.jpg