• Resolved gabrielem

    (@gabrielem)


    hi, I’m trying to add some exceptions to Prevent PHP Execution, but something doesn’t work. I correctly add the paths, I press the update .htaccess file button but nothing happens. I refresh the page and no exceptions. can you help me find a solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hi there @gabrielem

    There is indeed a known issue when you add a new rule in the Exceptions field in Defender, it unfortunately overwrites any existing exception rule you may have previously added. The developers are aware of that issue and are working on a fix for a future update.

    However, if you manually add the rule to your .htaccess file as follows, does it save properly?

    <Files home/user/public_html/wp-content/filename.php>
    Require all granted
    </Files>

    Please do let us know if this helps.

    Cheers!
    Patrick

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @gabrielem

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent PHP Execution – Exceptions’ is closed to new replies.