WP Sanitize File Name Plus

Description

Empty spaces and special characters can create some problems.

Features

  • Improved default function sanitize_file_name()
  • Remove latin special characters used in file name
  • Make file name lowercase

Screenshots

  • Activate the plugin
  • File with special characters
  • File name sanitized in Media Library
  • File name sanitized in Media Library (zoom)

Installation

  1. Download and extract plugin files to wp-content/plugin directory.
  2. Activate the plugin through the WordPress admin interface.

Reviews

Does what it promises

I tested some other file name sanitize plugins, but this is the only one which I had absolutely no issues with. File names get sanitized in a way I expect it (like “ä” gets “ae” and not “-” like other plugins handle it). Also, WordPress features like suffixing of file names if a file name is duplicate still works. It’s just a great little plugin, thanks for sharing it with us.

Removes spaces and other disrupting characters from filenames perfectly.

WP Sanitize File Name Plus might not have many installs, but that does not change, that its one of the most useful small plugins I install every time I create a new site, to ensure sane and friendly filenames on uploaded media, be it images or pdf files. Highly recommended. Hoping for af WP 4.5 verification and update any time soon! 😀

Briefly testet in WP 4.3.1 – cleans up those filenames!

My end-users attach documents and pictures with horrendous names (I live in Denmark), and while it should be ok for a file to be named “Opskrift på æblegrød.pdf” it results in horrible URLs when space and non-latin characters are encoded.

WP Sanitize File Name Plus FIXES that for me, both when uploading files manually, and when imported by Postie (mailing posts to site). I’m very satisfied.

Would be great if plugin would be officially verified to be compatible with the current WordPress version, alas it seems to be working fine.

Read all 7 reviews

Contributors & Developers

“WP Sanitize File Name Plus” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.3

  • Filter improvements

1.0.2

  • Fix : Firefox/MacOS

1.0.1

  • Make file name lowercase

1.0.0

  • Initial version