Published on
Dec 26, 2024
Updated on
08 Jan 2025
Share

Optimize media management with WPMasterToolKit's "Media Cleaner" module

Managing media in WordPress can quickly become complex, especially when uploaded files have illegible names or contain special characters. To simplify this process, the Media Cleaner from WPMasterToolKit offers an all-in-one solution for organizing and optimizing your media library. The module automatically cleans file names and generates key metadata from the cleaned file name. The result? A better organized library and SEO-ready media.

Which plugin can Media Cleaner replace?

The module Media Cleaner can replace popular plugins such as :

  • Media File Renamer (to clean up file names)
  • Auto Image Attributes From Filename (to generate metadata from the file name)

By combining these functions, this module reduces the number of active plugins and optimizes your site's overall performance.

Discover the module : Multimedia encoder

Main features of the Media Cleaner module

The module Media Cleaner offers several features designed to automate media management and simplify the work of WordPress administrators:

1. File name cleanup

When a file is uploaded to the WordPress library, this :

  • Automatically deletes special characters (e.g. accents, spaces, symbols).
  • Generates a clean, SEO-friendly file name.

This ensures better compatibility with web servers and improved URL readability.

2. Automatic generation of metadata

The module can automatically fill the following fields directly from the cleaned file name:

  • Title File name without extension.
  • Alternative text (alt text) Perfect for improving accessibility and SEO.
  • Caption Optional, ideal for illustrating your media.
  • Description For additional image details.

Thanks to this automation, all uploaded media is optimized as soon as it is imported.

3. Configurable options

From the WordPress admin panel, you can enable or disable each module feature. This allows you to customize the experience to your needs. For example, you can choose to enable only the removal of special characters, or only the generation of alternative text.

How to use the Media Cleaner module

Step 1: Activate the module

Go to the WPMasterToolKitmodule, activate the Media Cleanerand access its parameters via the dedicated sub-menu.

Step 2: Set your preferences

In the module parameters, you can :

  • Enable/disable file name cleaning.
  • Choose the metadata to be automatically generated (title, alt text, caption, description).
WordPress media management interface

Step 3: Import your media

When you upload a new file, the module automatically takes care of the cleanup and metadata generation. You don't need to do anything else.

Why this technical choice?

1. Using native WordPress hooks

The module uses two native hooks to integrate seamlessly with the WordPress system:

  • wp_handle_upload_prefilter Edit the file name before it is saved on the server.
  • wp_generate_attachment_metadata Allows you to complete the attachment's metadata (title, alt, etc.) once the file has been uploaded.

These integrations ensure maximum compatibility with WordPress core and other plugins.

2. Customize settings

Module parameters are stored using standard WordPress APIs, such as update_option and get_option. This ensures that your configurations are securely saved and retrieved.

3. Performance and modularity

The code is designed to be loaded only when the module is activated, in line with the philosophy of WPMasterToolKit. This preserves your site's overall performance.

Pro
from
2.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

The module Media Cleaner from WPMasterToolKit is an indispensable tool for all WordPress administrators concerned with optimizing their multimedia library. By automatically cleaning up file names and generating SEO-ready metadata, this module not only improves organization, but also the overall performance of your site. Adopt it today for simplified, efficient media management!

Category
Contents & Media
Version
≤ 1.14.0
Type
Free
More than 18 reviews
+1000
Installations
104
Modules
Pro
from
30.00$
/Year