making sure php execution is turned off

Hi,
I have support accewss on for: https://angelataxx.com/

I’m using defender and when I told it to turn off php execution by updating the .htaccess file it didn’t seem to do anything but when I navigated away to ssomewhere else in the dashboard and back it seemed to be enabled. Can you please confirm that php execution is turned oiff?

  • Dimitris Kalliris
    • Support Team Lead

    Hello cornelius_butler

    As far as I can see, the server type is found as the Apache, so please double-check that you have the following files with the corresponding content:

    1. wp-content/.htaccess

    ## WP Defender - Protect PHP Executed ##
    <Files *.php>
    Order allow,deny
    Deny from all
    </Files>
    ## WP Defender - End ##

    2. wp-includes/.htaccess

    ## WP Defender - Protect PHP Executed ##
    <Files *.php>
    Order allow,deny
    Deny from all
    </Files>
    <Files wp-tinymce.php>
    Allow from all
    </Files>
    <Files ms-files.php>
    Allow from all
    </Files>
    ## WP Defender - End ##

    Warm regards,
    Dimitris