Problem with filenames migrating uploads Wordpress folder

  • Posted on July 12, 2013
  • daniloefAsked by daniloef

I am migrating a WordPress site, and I have a trouble with the filenames of the /uploads/ folder, when contains characters like á, é, í, ó, ú, ñ, etc.

The database is OK, but when I browse (ls) the folder that content the file, I have different results between old and new server.

Old server filename: m??s-ganancias-en-Android-que-en-iOS-news.jpg database: m%C3%A1s-ganancias-en-Android-que-en-iOS-news.jpg

DigitalOcean filename: m#U00e1s-ganancias-en-Android-que-en-iOS-news.jpg database: m%C3%A1s-ganancias-en-Android-que-en-iOS-news.jpg

In order to migrate, I zip the entire folder in old server, then “wget” from the new one, and finally “unzip”.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

SOLVED <br> <br>Using “tar” against “zip”.