略過並前往主要內容
致電我們
服務專線和服務時間
預約回電

無須線上等候,提交預約我們將儘快回電。

預約回電
說明中心

瀏覽我們線上說明資源

說明

WordPress 說明

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. 登入 WordPress.
  2. In the left-side 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