Plesk

Unable to open readme.html and other files after installing WordPress in Plesk: Forbidden

Symptoms

Cause

Additional directives are added by the Security Measure Block access to sensitive files that is enabled automatically when WordPress is installed via Plesk.

Resolution

Such behaviour is expected - the Nginx and Apache rules are automatically added into virtual host configuration files to improve the security of the WordPress sites.

In order to disable these directives, perform the following steps:

Warning: Executing the below instructions will reduce WordPress security and mark the status as Danger on the WP Toolkit

  1. Log in to Plesk.

  2. Navigate to WordPress > example.com.

  3. Click View near the Security Status:

  4. Select the Security Measure Block access to sensitive files and click Revert:

Exit mobile version