WP Sanitize Accented Uploads Icon

WP Sanitize Accented Uploads

By Onni Hakala

Active Installs

800+

Last Updated

April 20, 2016

First Released

April 5, 2016

Download History (Last one month)


WordPress plugin which removes all accented characters like åöä from future uploads and has easy wp-cli command for removing accents from current uploads and attachment links from database.
This helps tremendously with current and future migrations of your site and helps you to avoid strange filename encoding bugs.

Sanitize accents from Cyrillic, German, French, Polish, Spanish, Hungarian, Czech, Greek, Swedish.
This even removes rare but possible unicode NFD characters from files by using PHP Normalizer class. These usually happen if you have mounted uploads into your vagrant box in OS-X.

This plugin is wordpress multisite compatible.

More information in github page: https://github.com/devgeniem/wp-sanitize-accented-uploads

  1. Upload the plugin files to the /wp-content/plugins/wp-sanitize-accented-uploads directory, require it in composer $ composer require devgeniem/wp-sanitize-accented-uploads or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Does this fix my uploads if my filenames have already been corrupted

No, sorry :(. You need to start using this before the problems arise in preventive way.

How to use wp-cli command

After the plugin installation and activation you can run $ wp sanitize all in terminal to sanitize all current files.

See $ wp sanitize --help for more.

Changelog

1.0.1

  • Replaces files which have accidentally turned into NFD too. First tries the filename found from DB and then tries NFD version of file name if it didn’t succeed.

1.0

  • Initial release which works in multisites too.
<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
1.2 Download Stable
1.1.1 Download Stable
1.0.8 Download Stable
1.0.7 Download Stable
1.0.6 Download Stable
1.0.4 Download Stable
1.0.3 Download Stable
1.0.2 Download Stable
1.0.1 Download Stable
Development Download Trunk

Plugin Info

  • Version: 1.2
  • Last Updated: April 20, 2016
  • Active Installs: 800+
  • WordPress Version: 4.0 or higher
  • Tested up to: 4.5.33
  • PHP Version: or higher
  • Tags:    
    accents files sanitize uploads

Ratings


5.0 out of 5 stars. (2 reviews)

See all reviews
Scroll to Top