Skip to content

Instantly share code, notes, and snippets.

@denvers
Created November 13, 2017 19:22
Show Gist options
  • Save denvers/f542715f454d169dce5418414b7bfdb2 to your computer and use it in GitHub Desktop.
Save denvers/f542715f454d169dce5418414b7bfdb2 to your computer and use it in GitHub Desktop.
# Disable direct access to *.php in /wp-includes folder to prevent Full Path Disclosure
# Disable direct access to *.php in /wp-includes folder to prevent Full Path Disclosure
RewriteRule ^wp-includes/[^/]+\.php$ - [F]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment