Title: WP Sanitize Accented Uploads
Author: Onni Hakala
Published: <strong>April 5, 2016</strong>
Last modified: April 20, 2016

---

Search plugins

![](https://ps.w.org/wp-sanitize-accented-uploads/assets/banner-772x250.png?rev=
1397132)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-sanitize-accented-uploads/assets/icon-256x256.png?rev=1397132)

# WP Sanitize Accented Uploads

 By [Onni Hakala](https://profiles.wordpress.org/onnimonni/)

[Download](https://downloads.wordpress.org/plugin/wp-sanitize-accented-uploads.1.2.zip)

 * [Details](https://wordpress.org/plugins/wp-sanitize-accented-uploads/#description)
 * [Reviews](https://wordpress.org/plugins/wp-sanitize-accented-uploads/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-sanitize-accented-uploads/#installation)
 * [Development](https://wordpress.org/plugins/wp-sanitize-accented-uploads/#developers)

 [Support](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/)

## Description

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](http://php.net/manual/en/normalizer.normalize.php).
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

## Installation

 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

## FAQ

  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.

## Reviews

![](https://secure.gravatar.com/avatar/b1471287a0e4a43673cb9e6ad193629fde0388e28d9b7b27546be2db7a81c78a?
s=60&d=retro&r=g)

### 󠀁[Fix swedish letters nice and quick](https://wordpress.org/support/topic/fix-swedish-letters-nice-and-quick/)󠁿

 [Karin H Olsson](https://profiles.wordpress.org/kaolss/) April 13, 2017

Used for swedish letters and wp cli. Working excellent

![](https://secure.gravatar.com/avatar/8d7248c06dce8d7a575f7224c6d0ca900fa760c834665889d20a3a7129558806?
s=60&d=retro&r=g)

### 󠀁[Very nice](https://wordpress.org/support/topic/very-nice-215/)󠁿

 [jyriii](https://profiles.wordpress.org/jyriii/) October 18, 2016

Really good plugin and does the job better than the others I tested. Supports the
NextGEN Gallery too.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/)

## Contributors & Developers

“WP Sanitize Accented Uploads” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Onni Hakala ](https://profiles.wordpress.org/onnimonni/)
 *   [ Geniem Oy ](https://profiles.wordpress.org/devgeniem/)

[Translate “WP Sanitize Accented Uploads” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-sanitize-accented-uploads)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-sanitize-accented-uploads/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-sanitize-accented-uploads/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-sanitize-accented-uploads/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-sanitize-accented-uploads/?limit=100&mode=stop_on_copy&format=rss).

## 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.

## Meta

 *  Version **1.2**
 *  Last updated **10 years ago**
 *  Active installations **800+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.5.33**
 * Tags
 * [accents](https://wordpress.org/plugins/tags/accents/)[files](https://wordpress.org/plugins/tags/files/)
   [sanitize](https://wordpress.org/plugins/tags/sanitize/)[uploads](https://wordpress.org/plugins/tags/uploads/)
 *  [Advanced View](https://wordpress.org/plugins/wp-sanitize-accented-uploads/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/reviews/)

## Contributors

 *   [ Onni Hakala ](https://profiles.wordpress.org/onnimonni/)
 *   [ Geniem Oy ](https://profiles.wordpress.org/devgeniem/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-sanitize-accented-uploads/)