Created
October 29, 2016 01:13
-
-
Save prajwal-stha/5462ac5092c9a1eb2003b0de453c028a to your computer and use it in GitHub Desktop.
Prevent PHP execution on a directory-by-directory basis in WordPress file. Add this file in each directory to prevent PHP execution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lock down PHP execution in that particular directory. | |
<Files *.php>deny from all</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment