Skip to content

Instantly share code, notes, and snippets.

@puikinsh
Created August 17, 2015 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save puikinsh/c8bf229921dbf6af4625 to your computer and use it in GitHub Desktop.
Save puikinsh/c8bf229921dbf6af4625 to your computer and use it in GitHub Desktop.
Example for .htaccess file. For more information about this simple code snippet please read our full WordPress security guide: https://colorlib.com/wp/improve-wordpress-website-security/
<FilesMatch "\.(php|php\.)$">
Order Allow,Deny
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment