• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Umlauts in Server-Paths not working after migration

Sepp88

New Pleskian
Hey guys,

I'm running plesk on an Amazon EC2 instance and wanted to migrate my current website to it.
My current website is hosted on a shared server and I'm pointing to it via the Cloudflare DNS. Also I have SSL "full (strict) enabled on cloudflare.

Yesterday I wanted to migrate the site to my new server and stumbled over two issues.

1 as the title suggests is, that I have file-uploads on the server with something like "Würth-small1.jpg". Those images are working properly right now on the current server. After DB migration and transfer of all files I switched the cloudflare DNS IP to the new server and unfortunately those images can't load and show %20 or something in the webinspector.

2 problem I had was that https was not working and I have a redirect loop. I'm running a wordprss and have nothing declared in the wp-config.php file that points to something like https. Only the database tables (wp_options) have the url changed to https – which is working on current environment just fine.
However after migration I had to use search-replace-db to revert back to http as https always had a redirect loop - I checked my .htaccess and wp-config.php file again, but there it says nothing regarding any https redirect or so - so I'm not sure where the redirect is coming from.

thanks,
matt
 
Hey guys,

I'm running plesk on an Amazon EC2 instance and wanted to migrate my current website to it.
My current website is hosted on a shared server and I'm pointing to it via the Cloudflare DNS. Also I have SSL "full (strict) enabled on cloudflare.

Yesterday I wanted to migrate the site to my new server and stumbled over two issues.

1 as the title suggests is, that I have file-uploads on the server with something like "Würth-small1.jpg". Those images are working properly right now on the current server. After DB migration and transfer of all files I switched the cloudflare DNS IP to the new server and unfortunately those images can't load and show %20 or something in the webinspector.

2 problem I had was that https was not working and I have a redirect loop. I'm running a wordprss and have nothing declared in the wp-config.php file that points to something like https. Only the database tables (wp_options) have the url changed to https – which is working on current environment just fine.
However after migration I had to use search-replace-db to revert back to http as https always had a redirect loop - I checked my .htaccess and wp-config.php file again, but there it says nothing regarding any https redirect or so - so I'm not sure where the redirect is coming from.

thanks,
matt

Hello,

1.) about your files, if there are particular characters like ü in your files name, it may cause issues depending on the server file encoding settings. Try to avoid them as much as possible in files name.

2.) Redirect loop with Cloudflare mean you are using the SSL flexible mode, and you have to switch to SSL full mode in the "Crypto" tab of your Cloudflare dashboard.
 
Thanks for getting back.

ad 1.) is there a way to set the file encoding like this in plesk? Of course I would avoid those umlauts and special characters but those that are in right now might cause issues.

ad 2.) is working now, I was able to fix it. Thanks
 
Last edited:
ad 1.) is there a way to set the file encoding like this in plesk? Of course I would avoid those umlauts and special characters but those that are in right now might cause issues.
No, there is character set encoding in the file system itself in Linux. The byte sequence is probably the same as in your old system, but the interpretation is different. You can try to change the system's locale to the same that your previous server has used. See more information on locales here How to Set Locales (i18n) On a Linux or Unix - nixCraft

@virtubox is right when recommending to avoid umlauts and special characters in file and directory names. They will always cause issues. It is worth to invest the time to do the changes once and solve the problem for good by it.
 
Back
Top