Disable PHP File Execution via .htaccess

, , , ,

Here is the code that you can put in your .htaccess file within a folder to disable php file execution.  It is very useful in the WordPress's wp-content/uploads directory for making sure files that get uploaded are not executable.


Submit a Comment

Your email address will not be published. Required fields are marked *