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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 6 replies, has 0 voices.

Last updated by fionaF 44 seconds ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 23, 2024 at 4:33 pm #16541141

fionaF

Background of the issue:
We are trying to remove WPML and all its data from our website hidden link. We have reset the WPML plugin and removed all related databases, but not everything was removed.

Symptoms:
Our media images have tripled with duplicate entries. Removing 'unattached' images also removes the original image as they share the same file path.

Questions:
How can we remove duplicate image entries created by WPML without affecting the original images?

December 24, 2024 at 4:19 am #16542311

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

Can you follow the steps as mentioned here and see if it helps:
https://wpml.org/faq/how-to-completely-remove-a-language-from-your-site/

You can quickly enable the languages and follow this steps.

Thanks

December 24, 2024 at 2:10 pm #16544008

fionaF

Hi, we already have followed the guideline by resetting the WPML and even we have removed database of WPML as well but then we went to see the media files and found out that the amount of files has tripled by duplicates and what is scary is the duplicate images doesn't has different url's instead it holds the exact file path or url as the original image so even if we identify the duplicates and try to delete them it also deletes the original file which is bothering us the most and we tried to delete the duplicate images by using some plugin as well but it didn't worked as it was deleting the original image as well. and FYI these duplicate images which you guys call as entries was created by WPML . please help me to remove this duplicate image entries from the website

December 24, 2024 at 3:12 pm #16544206

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

If you have already reseted the WPML database, all the media languages files will be lost and it appears as default language, in this case, it is only possible to manually remove the images.

Being so, I would like to ask if you have a backup available before you reset the WPML plugin?

Look forward to your reply.

Thanks

December 24, 2024 at 7:40 pm #16544489

fionaF

yes i have made an reset on WPML also i have removed the database tables of WPML as well but nothing removed the image entries created by WPML. we used to make our products translated into Chianese version once we create a product on English, and i guess you know that how WPML functions with product images on translated version of default language versions. and as you are saying removing images they are not even duplicate images, they are just entries which holds the original image url so even if we delete the duplicate image entries manually it will automatically delete the original image as well. we tried to delete the images manually but it deletes the original image as well. and we don't have any backup unfortunately. so yeah we are seeking help from you guys to help us removing this duplicate image entries which is leftover or junk created by WPML.

December 25, 2024 at 8:45 am #16545054

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

I apologize, but once WPML is reset, the removal process becomes quite challenging as entries are deleted. Additionally, all images will revert to their original language, making it impossible to filter them effectively.

You may consider using custom plugins to remove duplicates, but this approach requires careful verification to avoid accidentally deleting original images.

I am sorry I couldn't be much help here.

Thank you.

December 25, 2024 at 4:53 pm #16545743

fionaF

Hi, i don't understand why the duplicate image entries added by wpml are still there even after doing the reset on WPML plugin. when i do a reset to any plugin it shouldn't keep any data of it's or throw junk to the database. these duplicate image entries we have on our website now is created by WPML and now you guys are saying you can't help? it's a shame. and we tried other plugins as well to delete the entries and we couldn't delete them as the duplicate image entries holds the same exact file path as the original so if you delete any duplicate image entries by wpml it would delete the original image as well. and i don't understand why would you guys design a plugin where even after doing a reset there will still be junk data left, most scary thing is it made the image number 2 times then the original. please help us to get rid of this issue.

Thanks