.htaccess for Wordpress

5 replies
Hello, i want to make an .Htaccess file for my wordpress blog so that no 1 can open my ADMIN PANNEL PAGE like .com/wp-admin or .com/wp-login.php PAGE

without Username & Pass ...

tell me how to ?
#htaccess #wordpress
  • Profile picture of the author freehugs
    Redirect /wp-admin http://yourdomain.com

    (this will work, but then you can't use the admin section...)

    EDIT: Did not understand your question.

    For password protecting certain directories with an .htaccess directive, look here: http://tools.dynamicdrive.com/password/
    {{ DiscussionBoard.errors[5621655].message }}
  • I would not mess with the .htaccess file. I have seen so many things go wrong. IF you are concerned about security install the login lock down plug in. This plugin stops people from consistently trying to log into your site. There might also be a plugin that will allow you to state your unique IP address
    {{ DiscussionBoard.errors[5623697].message }}
  • Profile picture of the author kokopelli
    {{ DiscussionBoard.errors[5623718].message }}
  • Profile picture of the author sautaja
    So OP needs two-factor auth, check out this thread:
    blogsecurity.net / wordpress/ article-210607
    Jomify - Free multi-channel shopping cart. Open your free store now.
    {{ DiscussionBoard.errors[5631327].message }}
  • Profile picture of the author K Meier
    May I ask what the point is to have it doubled password protected? Once via WP-login and once via htaccess? Why?
    {{ DiscussionBoard.errors[5631924].message }}

Trending Topics