I was having a WordPress site running over a LAMP stack “Apache” and I moved to new VPS and installed the website using the EasyEngine normal command:
ee site create example.com --wp --php7 --letsencrypt
So basically it creates a WordPress with PHP 7.0 and enabled letsencrypt SSL certificate.
Everything is working perfect but I’ve in some pages media links for attached files (Word, PDF, … etc) so when someone clicks on it it will be downloaded.
The problem now any media link in the front-end (website) I can see the path it’s available but when I click on it I redirected to a 404 page not found.
But if I uploaded new media and inserted into the website and if I clicked it will work and download.