• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Wordpress Multi-Site Security Problems

Seth_Whitworth

New Pleskian
We recently migrated many of our Wordpress sites over to Plesk. One of those sites is a Wordpress Multi-Site. On all of the other sites we have used the Plesk WordPress Tools to "secure" them from the control panel. Doing that on the Multi-Site caused issues accessing images on sub-blogs.

Running the security fixes added some Directory rules to the Apache config file in order to try and secure some directories. In particular it added the following lines:

<Directory /var/www/vhosts/site.com/httpdocs/wp-includes>
<FilesMatch \.php$>
Require all denied
</FilesMatch>
</Directory>

This attempts to block php files from running within the wp-includes file.

Since this is an older site images and other media are displayed through a ModRewrite rule to /wp-includes/ms-files.php?file=$2 , which does not work with the above code, causing all media and images to be broken on the site.

For now we have commented out the Directory File but I am worried if we update anything on the site it will be overwritten and we will run into the same problem. Anyone run into this problem or have any thoughts on this?

Thanks,
Seth
 
Back
Top