WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm managing a wordpress blog in Spanish for the first time and I'm currently migrating servers (e.g server A and B). The problem is that even though the file names are correctly sanitized or escaped in server A, the file names are converted; for instance NIÑOS -> NIÃOS.

As a result, links in server B are broken. So, I'd like to know, is there a way to fix this?


share|improve this question
Which files, uploads? How are you transferring them? In which context precisely issue happens and which sanitizing functions cause it? – Rarst Dec 22 '13 at 19:24
The transfers are done via FTP to retrieve the files. By sanitation is that permalinks don't display special characters. On server A, I just noticed that even though file names are converted as described, links do work. The file structure and database are the same, but I think the difference might be either in server A's configuration or in a WP configuration file. – M3g4l0d0n Dec 22 '13 at 21:48
Well, I ended up replacing the file names with a batch renamer and now links work again. I do wonder why the character conversion happens though. – M3g4l0d0n Dec 24 '13 at 17:06

A fast way on Windows is the tool DUK. Edit and copy the config-file dsbs-wrapper.php to new server, the wp install and run the tool, the exe. It will check the database and will correction the strings.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.