Skip to content

Instantly share code, notes, and snippets.

@voneff
Created Feb 28, 2018
Embed
What would you like to do?
WordPress: Disable PHP Execution in Certain WordPress Directories
# BEGIN Disable PHP Execution
#
# Source:
# http://www.wpbeginner.com/wp-tutorials/how-to-disable-php-execution-in-certain-wordpress-directories
#
<Files *.php>
deny from all
</Files>
# END Disable PHP Execution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment