• Hey,

    This particular htaccess rule is preventing any resources with php in the URL from loading on the site, particularly images, eg: something-whatever-php.png would not load.

    # Rules to prevent php execution in uploads
                            RewriteRule ^(.*)/uploads/(.*).php(.?) - [F]

    We’ve commented it out and it’s working, unsure how to fix it.

    Thanks

    https://ww.wp.xz.cn/plugins/better-wp-security/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Prevent PHP exec in uploads causing error’ is closed to new replies.