Healthy filename

Automatically clean the filenames.

Author:Kantari Samy (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:7.1.2
Plugin version:1.1.0
Added to WordPress repository:02-10-2017
Last updated:30-09-2026
Rating, %:0
Rated by:0
Plugin URI:http://www.samy.kantari.fr/
Total downloads:3 298
Active installs:100+
plugin download
Click to start download

The plugin uses the hooks “wp_handle_upload_prefilter” and “wp_handle_sideload_prefilter” and modifies the filename to remove all special characters.

FEATURES
– Remove accents
– Remove special characters
– Change the filename to lowercase
– Convert non-Latin characters to Latin ones (requires the PHP “intl” extension)
– Optionally replace underscores with hyphens
– Count the uploads that had to be cleaned and the ones that were already clean

Examples :
– filename : rick & morty.png > rick-morty.png
– filename : finaL fantasy / (Copié) (Copié).jpg > final-fantasy-copie-copie.jpg
– filename : Привет.jpg > privet.jpg

The settings and the counters are in “Settings > Healthy filenames”.


Screenshots
FAQ
ChangeLog