I migrated a wordpress website from a shared hosting to a dedicated server. Since this migration I have problems with uploaded files.
On the shared hosting account I had permalinks activated but as this was not working anymore on the dedicated server I had to put the permalinks back to default, which I did.
But since that moment the links to new uploaded files don't work anymore. In the admin part of wordpress the link that's created looks ok but then on the website itself it doesn't.
In wordpress admin:
On website the link is:
I hope somebody can help me.