WordPress.org

Plugin Directory

Clean Filenames

Removes or replace international or special characters that can make your filenames not compliant with some servers or services.

Features

Makes three tasks for getting cleaner and safe to use filenames

  • Removes or replace special/international characters that can make your filenames not compliant with servers that don't have support for international locales and filenames, or third-party services. (e.g. 'España.png' will become 'Espana.png', 'prüfen' will become 'prufen').
  • Replaces any '+' in the filename with '-' (e.g. 'A+nice+picture.png' will become 'A-nice-picture.png').
  • Replaces any '.' character before the one used for file extension with '-'(e.g. 'A.nice.picture.png' will become 'A-nice-picture.png').
  • After running all character replacement filters, a last filter is applied to ensure that the filename only contains letters, numbers, underscores, dashes, and dots. Any other character will be removed from the filename.

This reduces problems with some servers, services, plugins... That may have problems handling filenames with special or international characters.

The plugin does his job during file upload process, so it'll change only filenames for files being uploaded after plugin activation.

It supports characters from belarusian, cyrillic alphabet, czech, german, hebrew, hungarian, russian, polish, spanish, ukrainian, and some other special characters (e.g. №, @, $, etc.)

Requirements

  • WordPress 3.0 or higher

Requires: 3.0 or higher
Compatible up to: 4.2.7
Last Updated: 9 months ago
Active Installs: 900+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1