I recently moved a Wordpress site from
one.com to a linux vps server running Ubuntu 16 with Apache. Everything works fine except images with åäö which show as broken, right clicking and copying the link shows the following.
As soon as you paste this in the browser address bar and hit enter it gets turned into
And shows a 404 error. I navigated to
/images/ which lists all the files in the directory and I can see that
vara-påläst1.jpg is there.
copying the link from the images folder gives me the following
Which resolves to the correct image.
Something is clearly wrong with the filenames and it seems to me like it is an encoding issue. I tried to solve this with
convmv -f iso-8859-1 -t utf8 * but it says all files are already UTF-8 encoded and won't update anything.
How can i fix filenames with åäö characters after transferring them from another web host?