1. How do I know which media files are unused and safe to delete?

The Media Hygiene plugin has a built-in media scanner that looks at the WordPress database, theme and plugin(s) to identify which media files are no longer in use. You’ll be presented a list in our dashboard that is safe to delete.

Please backup your site before you delete the files.

2. Will this plugin remove any media files that are still being used on my website?

The Media Hygiene plugin will not remove media files that are in use on your website. This means that if a media file is being used in a post, page, or other database entry, it will NOT show up in the scanning results and be presented as an option to be deleted.

If you are certain that some files are being used on your site, you can whitelist that file and it will longer be considered for deletion.

3. How does the plugin identify and remove the unused media files?

The Media Hygiene has two scanning modes. The first mode compares the database entries of specific modules with the files. The second mode scans each folder in the wp-content/upload directory. It identifies files that are not listed in the database and considers them to be unused.

4. Will this plugin remove any media files from my backups?

The Media Hygiene plugin does not have the ability to look inside backups and/or remove any files from your backups.

5. Will removing unused media files affect the performance of my website?

While removing unused media files does not directly impact page loading times, removing unused media files can actually improve the performance of your server and indirectly improve loading times. Unused media files take up space on your server and can cause backups to take longer.

6. Is there any risk of data loss or corruption when using this plugin?

Like any software, there is a small risk of data loss or corruption when using the Media Hygiene plugin. However, the developer has taken steps to minimize this risk by thoroughly testing the plugin and including safety features on various hosting platforms (e.g. shared, VPS, and dedicated).

Additionally, it is always recommended to keep a backup of your website before using any plugin that modifies your directories, just in case something goes wrong.

7. How often should I run this plugin to keep my media library clean?

The frequency at which you run the Media Hygiene plugin depends on how frequently you add media files to your website. It’s recommended to run the plugin regularly, as this will help keep your media library clean and free of unused files. If you have a lot of media files, it’s recommended to run the plugin at least once a month.

If your website receives a high volume of traffic and media files are frequently added, it’s recommended to run the plugin more frequently, such as every week.

8. Does this plugin have any limitations or potential conflicts with other plugins or themes?

The Media Hygiene plugin is designed to work seamlessly with all the most popular WordPress themes and plugins. However, WordPress is a dynamic ecosystem where there are many changes occurring. The developers have tried to accommodate every possibility.To our knowledge, the plugin does not have any known conflicts with other plugins or themes.

We strongly recommend backing up the website and/or running the plugin on a staging or development environment.

If you do encounter any issues or conflicts, you can contact the developer for support and guidance. The developer will work to resolve the issue as soon as possible and provide a solution.

9. Can I preview the media files that will be deleted before they are removed?

Yes, the Media Hygiene plugin allows you to preview the media files that will be deleted before they are removed. The plugin’s media scanner will provide a list of all the unused media files, including details such as the file name, image, location (URL), and size.

You can review the files and whitelist the file to prevent deletion.

10. Is there any customer support available if I have any issues with the plugin?

Yes, there is customer support available for the Media Hygiene plugin. The developer provides basic support through the WordPress repository, where you can find answers to frequently asked questions and troubleshoot common issues.

Premium users will have access to direct support inside the plugin. The support team will respond to inquiries as soon as possible, but response times may vary depending on the nature of the inquiry and the volume of support requests.

11. Can I exclude certain media files or folders from being deleted?

Yes, the Media Hygiene plugin allows you to exclude certain media files type from scan that do not display in unused files by adding files to a whitelist in the scan results list or It is for Folder Scan separate from Regular Media Scan. 

12. Can I restore any media files that were accidentally deleted?

The Media Hygiene plugin does not have a built-in feature to restore deleted media files. You can restore accidentally deleted media files by using a backup of your website.

13. Is there a way to schedule the plugin to run automatically at regular intervals?

No, the Media Hygiene plugin does not allow you to schedule the plugin to run automatically at regular intervals. We will be including this in the premium version of the plugin.

14. Does this plugin work with multisite installation of WordPress?

This feature is not available yet but coming.

15. Can I see a log of all the media files that have been deleted by the plugin?

This feature is not available yet but coming

16. Will this plugin remove any meta data associated with the media files?

No, Media Hygiene will remove the file in its entirety from the WordPress media library. It does not remove metadata only

17. Is the plugin compatible with the latest version of WordPress?

The Media Hygiene plugin is designed to be compatible with the latest version of WordPress. The developer regularly updates the plugin to ensure that it continues to work seamlessly with the latest version of WordPress.

18. How to use plugin on staging or development site?
If you have not installed Media Hygiene Pro on your live site, you can proceed with step 5.
If you have already installed on the live site, you will need to deactivate the plugin and reactivate on the staging site.  Here is how you do it:
  1. Go to the Plugin page on the live site
  2. Find the Media Hygiene Pro plugin
  3. Deactivate the plugin
  4. Go to your staging site or development site
  5. Go to the Plugin page
  6. Install the Media Hygiene Pro plugin
  7. Insert the license key
  8. Activate the plugin
19. Conflict with Litespeed Cache Plugin
There is a known issue with the Litespeed Cache plugin when it is activated and Media Hygiene begins its scanning process. To remove this conflict and allow Media Hygiene to work, deactivate the Litespeed Cache plugin and run the scanning process. 
20. How to enable error log in WordPress?
Enabling the debug log in WordPress can be helpful for troubleshooting and identifying issues on your website. To enable the debug log, follow these steps:

1. Edit the wp-config.php file: The wp-config.php file is located in the root directory of your WordPress installation. You can edit this file using a code editor or through your hosting provider’s file manager.

2. Locate the Debugging Section: Look for the following lines in the wp-config.php file:

define( 'WP_DEBUG', false );

If you don’t see these lines, you can add them to the file.

3. Enable Debugging: Change false to true to enable debugging:

define( 'WP_DEBUG', true );

You can also add the following lines to log errors, warnings, and notices:

define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

  • WP_DEBUG_LOG: This will save all errors, warnings, and notices to a debug.log file in the wp-content directory.

  • WP_DEBUG_DISPLAY: This controls whether errors are displayed on the website. Setting it to false will prevent errors from being shown to visitors.

4. Save the Changes: Save the changes to the wp-config.php file.

5. Check the Debug Log: After making these changes, WordPress will start logging errors to the debug.log file. You can find this file in the wp-content directory. If the file doesn’t exist, WordPress will create it.

You can use a text editor or a plugin like “Debug Bar” or “Query Monitor” to view the contents of the debug.log file.


Remember to disable debugging when you’re done troubleshooting, as having it enabled on a live site can expose sensitive information and affect performance. Set WP_DEBUG back to false in the wp-config.php file.

21. What to do if you see any database error log during update or install ?

If you encounter any database errors during the upgrade or activation process, as indicated in the debug log or any other tool you are using, there is nothing to worry about.

Please refresh the page, and these notices will be removed.

If the issue persists, kindly deactivate the plugin and then activate it again to ensure a smooth process.

If you are still experiencing issues, please reach out to us on the WordPress Org support forum or use the contact us form on our website for further assistance.