Ionos Magento Internal Server Error

After migrating a Magento site to Ionos shared hosting, internal pages of the site stopped working with “Internal Server Error”.

ionos magento internal server error

The problem is due to .htaccess file. The error is fixed by editing pub/.htaccess file

vi pub/.htaccess

Find

Advertisement

#RewriteBase /magento/

Replace with

RewriteBase /

Many static files were also not loading, to fix it, edit the file

vi pub/static/.htaccess

Find

#RewriteBase /magento/pub/static/

Replace with

RewriteBase /static/
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement