Created
October 21, 2019 11:33
-
-
Save jaworowicz/1d81d7c2e13d665b3eb7cfa41bc3bd51 to your computer and use it in GitHub Desktop.
Save in to main .htaccess file. https://jaworowi.cz
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
<FilesMatch "wp-config.*\.php|\.htaccess|readme\.html|license\.txt"> | |
Order allow,deny | |
Deny from all | |
</FilesMatch> | |
================ KOD 2 (jeżeli nie potrzebujesz XML-RPC) | |
<FilesMatch "wp-config.*\.php|\.htaccess|readme\.html|license\.txt|xmlrpc\.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