Skip to main content
Keep Your Business Open During COVID-19Learn More
Call us
Phone numbers and hours
Help Center

Explore our online help resources

BlogHelp

WordPress Help

Allow blocked PHP files in the Sucuri Security plugin

To improve the security of your WordPress website, you can block PHP execution in certain directories with the Sucuri Security plugin. If this breaks your theme or plugins, you can allow the PHP execution for the specific files that are causing the issue. The Sucuri Security plugin will keep protecting your site from files that should be blocked.

  1. Sign in to WordPress.
  2. In the left-hand menu, select Sucuri Security > Settings.
  3. Select the Hardening tab.
  4. Scroll down to Allow Blocked PHP Files section.
  5. In a PATH field, enter a path to a file you want to allow, and select the file's directory from the drop-down list.
  6. Select Submit.

More info