1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help tips to protect your wp admin

Discussion in 'Blogging' started by gundamwing, Jan 11, 2012.

  1. gundamwing

    gundamwing Supreme Member

    Sep 18, 2008
    Likes Received:
    The easy but important ways to protect yourself if you run a WordPress blog
    is Secure your /wp-admin/ directory.

    What I've done is lock down /wp-admin/ so that only certain IP addresses can access that directory.

    I use an .htaccess file, which you can place directly at /wp-admin/.htaccess  looks like:
        AuthUserFile /dev/null
        AuthGroupFile /dev/null
        AuthName "Access Control"
        AuthType Basic
        order deny,allow
        deny from all
        # whitelist home IP address
        allow from
        # whitelist work IP address
        allow from
        allow from

    how do i put when i want to allow ip range ( not spesific) ?
    and how to redirect it ( redirect some page) ?