Background of the issue:
I manage the site elisefarm.se, where we add new menus as PDF files each week and delete the old ones. However, the old menus are still present in the /uploads directory, and Google continues to index these files (see image). I read an old post on Stack Overflow suggesting this might be due to a setting in WPML.
Symptoms:
Media files are not deleted in /uploads when deleted in Media, causing old menus to remain indexed by Google.
Questions:
How do I fix the issue of old media files not being deleted from /uploads?
Is there a specific setting in WPML that could be causing this problem?