Created
October 2, 2017 11:44
-
-
Save devuri/237debe414a49d82726df0a7568eefa9 to your computer and use it in GitHub Desktop.
Deny access to the login page and return a 404 add this to .htaccess
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
| #secure the login page | |
| ErrorDocument 403 /path-dummy-returns404/index.php?error=404 | |
| <Files wp-login.php> | |
| order deny,allow | |
| Deny from all | |
| # Allow this IP address | |
| allow from 123.123.444.44 | |
| </Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment