The check if php files can be executed inside wp-content is not complete
-
I had already an .htaccess file in the wp-content directory which contains the following lines before I installed the Sucuri plugin.
# Disable access to all file types except the following Order deny,allow Deny from all <Files ~ ".(xml|xsl|css|css.map|xsl|js|jpe?g|png|gif|svg|eot|ttf|woff|woff2|pdf|docx|xlsx|rtf|odf|zip|rar)$"> Allow from all </Files>
With this rule, php files cannot be executed, but the Sucuri plugin says “WP-content directory not hardened”
It seems the plugin doesn’t really check if php files can be executed or not.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘The check if php files can be executed inside wp-content is not complete’ is closed to new replies.