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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

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

This topic contains 2 replies, has 2 voices.

Last updated by Mateus Getulio 8 months, 1 week ago.

Assisted by: Mateus Getulio.

Author Posts
October 9, 2024 at 10:56 am #16269467

itA-15

Background of the issue:
When i visit the URL hidden link it's redirecting to another URL hidden link. The redirect is happening because of x-redirect-by WPML.

Symptoms:
The URL hidden link is redirecting unexpectedly.

Questions:
Why is the URL redirecting unexpectedly?
How can I stop the 301 redirect caused by WPML?

October 9, 2024 at 11:21 am #16269657

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

As we discussed in the chat, please test the troubleshooting options and see if it gets the issue fixed.

If the issue persists, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

October 16, 2024 at 6:15 pm #16297404

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for sharing that access.

I checked it and I noticed that you have a single product called Risperidone 1 mg, you can check it in the WordPress editor here: hidden link

I noticed that you have a plugin 'custom permalink' enabled and that that product had its slug edited into risperidone-1mg-tablets.shtml

If I temporarily disable the plugin, I can see the following slug: risperidona-1-mg

I attached screenshots for reference.

It looks like that product has both slugs applied, one by the WordPress default slug system and another that added by the plugin custom permalink.

Which slug is the correct one? risperidona-1-mg or risperidone-1mg-tablets.shtml?

It is possible that by editing one of the slugs the issue will be fixed.

product.jpg
productwithoutplugincustompermalink.jpg

The topic ‘[Closed] 301: Permanent redirect’ is closed to new replies.