WordFence code execution protection blocks images
-
Hi, I’ve got a problem with the WordFence plugin. When I enable the code execution protection option for the uploads folder, all my images in the uploads folder return a 404 not found error.
WordFence places the htaccess file shown below in the uploads folder. Does anyone have an idea what could be the problem? Is is a server configuration error?
I’m using the latest WordPress and WordFence versions.
Thanks!
# BEGIN Wordfence code execution protection
<IfModule mod_php5.c>
php_flag engine 0
</IfModule>
<IfModule mod_php7.c>
php_flag engine 0
</IfModule>AddHandler cgi-script .php .phtml .php3 .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI
# END Wordfence code execution protection
- The topic ‘WordFence code execution protection blocks images’ is closed to new replies.