Viewing 1 replies (of 1 total)
  • At least you can limit the access by IP. Only useful if your (or anyone else’s who needs to access) have static IP which doesn’t change too often. And not good if too many people need to login…

    For wp-login.php, add this to the WP install dir .htaccess (where wp-login is):

    <Files wp-login.php>
    Order Deny,Allow
    Deny from All
    Allow from x.x.x.x
    </Files>

    To wp-admin folder .htaccess add this:

    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    AuthName "Example Access Control"
    AuthType Basic
    <Limit GET>
    Order Deny,Allow
    Deny from all
    Allow from x.x.x.x
    </Limit>

Viewing 1 replies (of 1 total)
  • The topic ‘How to protect wp-login and wp-admin’ is closed to new replies.