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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 7 replies, has 2 voices.

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

Assisted by: Dražen.

Author Posts
April 19, 2024 at 11:02 am #15543190

Afina

Hello
I have an issue with removing the old slug from the database, which is saved for a page with /en/ in URL, for multilanguage I use WPML.
After slug changes, WordPress saves the old slug to redirect users to the new slug. Also, I use the plugin Slugs Manager to remove old slugs - I need to get a 404 error on the old URL, but not redirect to the new slug. But this not working for translated pages (with language in URL).
Example:
For original language (without language in URL) I change slug from ‘old-slug’ to ‘new-slug’ and this change is displayed in Slugs Manager. I remove it and by the old URL, I get 404 pages.
But if I do the same for the translated page (not an original language with /en/ in the URL) - I see a change in the plugin, remove it, but get redirected from the old slug to the new one. Is there some option in WPML to disable this?
Best regards

April 19, 2024 at 11:12 am #15543235

Dražen
Supporter

Languages: English (English )

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

Hello,

you have been inactive so I converted the chat to the ticket.

1) In order to expedite handling your support requests, can you please share WPML support debug information from your site.

- To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire content of the text box and copy it.
- Now go back to our support forum, find debug information box and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

2) Please share full URL of the old and new page, so I can see the issue.

Regards,
Drazen

April 19, 2024 at 12:04 pm #15543503

Afina

I haven't any button or textarea to share info from website with you.
Should I paste it here or in another place (private message for example)?
Links - old and new too?

April 19, 2024 at 12:12 pm #15543532

Dražen
Supporter

Languages: English (English )

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

Hello,

there should debug box below chat, please check our docs on steps:

- https://wpml.org/faq/provide-debug-information-faster-support/

Yes, you can share URLs here in a normal reply.

Regards,
Drazen

April 19, 2024 at 1:21 pm #15543866

Afina

Drazen, can you enable private replies for me (as said support agent in private messages), because I don't want to share my link in public here?
Also I haven't textarea, which displayed on screenshot on your link before reply textarea and under buttons of ticket resolve...

SCR-20240419-nvch.png
April 19, 2024 at 1:41 pm #15544031

Dražen
Supporter

Languages: English (English )

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

Hello,

1) Sure I can enable it, but also any link is not being seen by the public, they are hidden except for you and WPML support.

2) Can you please check if the issue happens when only WPML plugins are activated, and all other plugins are disabled?

Also, change your theme to the WP default theme and check if the issue happens.

Please make a backup before proceeding or make sure to test this on staging site.

Let me know how it goes.

Regards,
Drazen

April 22, 2024 at 8:42 am #15548716

Afina

Hello, Drazen!

I disabled all plugins, excerpt WPML and activated default theme (2024), but problem left.

I can't remove redirect from old slug to new with WPML plugin. WordPress installations without it works right (removing with "Slugs manager" plugin helps).

Maybe there is some place where WPML stored old slugs too?

P.S. Also I haven't button to share debug information here, so I add this under my message:

April 22, 2024 at 8:47 am #15548734

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

1) Please share both URLs so I can check the issue and see what goes wrong.

2) Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.

Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.

I have enabled the private username and password fields in your next reply.

I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.

You can safely add your information into these fields.

Thanks,
Drazen

The topic ‘[Closed] Not redirect old slug’ is closed to new replies.