If you are using IONOS web hosting and getting the 500 Server Error on pages, then these are steps that you need to follow.
You will be able to find two .htaccess files in the source code at the following locations.
- .htacess file in root filter
You need to make the following changes in your both .htaccess files.
Find the following line,
And add the following two lines above that line,
Save the file. Do the same in both files.
Clear your browser cache and try again or also try it in incognito window.