Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are seeing obsolete URLs in the WPML translation editor, which include URLs that should not be up for translation and some that contain two slugs or non-existent URLs.
Solution:
The issue arises because these URLs are still associated with specific page IDs in your database, even if they are no longer active or relevant. This can happen if data from previously used plugins (like Yoast) remains in your database even after the plugin is removed. To resolve this, we recommend checking your database for any residual data linked to these page IDs and removing them if they are no longer needed. This cleanup will help ensure that only relevant and current URLs appear in the WPML editor.

If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket at WPML support forum for further assistance.

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

Last updated by Marcel 3 months, 2 weeks ago.

Assisted by: Marcel.

Author Posts
August 15, 2024 at 5:44 am #16072976

ronaldT-5

Background of the issue:
Not seeing the obsolete URL's

Symptoms:
Seeing old URL's for buttons on current page

Questions:
How to get rid of those obsolete URL's?

August 15, 2024 at 9:04 am #16073529

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

Please try making a small change on the page/post where you see those URLs (ex. add and remove a "+" sign) and update the page/post in the default language.

After that, check if the issue persists and let me know.

Regards,
Marsel

August 15, 2024 at 1:54 pm #16074771

ronaldT-5

I've already tried that. Just tried again, but to no avail.

August 15, 2024 at 2:15 pm #16074807

Marsel Nikolli

Hi,

Thank you for the update.

Could you please go to WPML > Support > Troubleshooting page, then click the following buttons one by one and wait for each process to finish:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations

* Note: Please ensure you have a full backup of your website before making any updates/changes to your website.

Let me know how it goes,
Marsel

August 15, 2024 at 2:19 pm #16074814

ronaldT-5

I tried that yesterday, but I just tried it again just to be sure. It made no difference.

August 15, 2024 at 2:50 pm #16075078

Marsel Nikolli

I would need temporary access to your website to investigate this issue and understand it better.

Please fully back up your site (files and database) and confirm it in your next reply.

I would need to access your site's WP-admin.
Your next reply is set to private so you can provide the username and password details.

Thanks,
Marsel

August 16, 2024 at 6:44 am #16076977

Marsel Nikolli

Hi,

Thank you for the access, I was able to access the website's WP-Admin.

Could you please share the link to the page where the issue is showing (or the page/post title)?

Thanks,
Marsel

August 16, 2024 at 9:10 am #16077581

ronaldT-5

https:/staging14.home-alarm.ca/lanaudiere-wireless-home-security/

August 16, 2024 at 10:26 am #16077929

Marsel Nikolli

Hi,

Thank you for the link, I checked and tried updating the page in the default language but I noticed that the translation is not yet completed. Would it be possible to complete the translation (with the links as they are) and then:

- try making a small change to the default language again and check if the issue persists
- use the "Target links translation" option by going to WPML-> Settings-> Translate Link Targets and click on "Scan now and adjust links"

Let me know how it goes,
Marsel

August 16, 2024 at 2:01 pm #16078535

ronaldT-5

Somehow the issue when away on its own.

August 16, 2024 at 4:09 pm #16078867

ronaldT-5

I just realized that when I switch to the new ATE the problem comes right back. If I switch back to the old ATE, the obsolete URLs go away. Go figure.

August 19, 2024 at 1:45 pm #16084030

Marsel Nikolli

Hi,

Thank you for the update.

To further troubleshoot the issue I would require a copy of your website to test it locally and further escalate the issue if needed.

You can use the Duplicator plugin to create a copy of your website and upload the backup on a file-sharing website (Google Drive, Dropbox, etc.), please send me the link to download the backup after.

* Please try to minimize the size of the backup file by excluding unnecessary media files or backup folders that might be in the "/wp-content/" folder.

I’ve set your next reply as private so you can provide the backup link.

Thanks,
Marsel

August 19, 2024 at 7:17 pm #16085055

ronaldT-5

I already have a copy of the site that you can use on staging20. The button links showing up yield in "page not found".

The obsolete button link URLs are still there no matter what I do. I suspect WPML is being controlled by the devil. I'm seriously thinking of going back to Polylang.

August 20, 2024 at 8:32 am #16086153

Marsel Nikolli

Hi,

Can you please share access to the site on staging20?

I would require also access to the FTP and will be escalating the issue to our 2nd tier support team to check this issue further.

* Your next reply is set to private so you can share the access credentials.

Thank you,
Marsel

August 20, 2024 at 4:19 pm #16087758

Marsel Nikolli

Hi,

Thank you for the access to the staging site, I will check and let you know as soon as possible.

Regards,
Marsel