Error 403 - Weird problem

So, lately I’ve had some 403 problems. The last one was by simply changing the Homepage from latest posts, to a Static Page.

After contacting the hosting support, they come up with this answer:

It’s nothing to do with the server, and not your Permalinks either.
Your theme is overwriting the .htaccesss file and adding this line:

AddHandler application/x-httpd-php70s .php

This will not work, it’s not valid in this server environment. You’ll need to contact your theme developer to ask why it is doing this, although it could be a setting (if the theme is trying to enforce PHP 7.0 for example).

Can anyone help me with this? Thank you.

Hello There,

Thanks for writing in! Please be advised that the theme does not overwrite or create any files within your WordPress installation. The line AddHandler application/x-httpd-php70s .php in your .htaccess was added manually. Please remove this line if your server does not allow it. You may need to contact your hosting provider again and ask them if you have meet the requirements to run WordPress. You can check out the necessary server settings from here: https://wordpress.org/about/requirements/

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.