WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can the wordpress administration panel and the login page wp-login.php be hidden such that only the website administrator can access it? Can the URL be rewritten through some mod_rewrite rule without worrying about breaking anything (leaving aside all the plugins)? Preferably the solution should not be IP address based which will mean the administrator can access the website from only one or a set of computers.

share|improve this question
A quick search on this site brings up several similar questions. Like wordpress.stackexchange.com/questions/6402/…, wordpress.stackexchange.com/questions/106/… and wordpress.stackexchange.com/questions/4037/…. Please refer to those. – MathSmath Jan 14 '11 at 16:57

Codex recommends adding HTTP authentication as additional layer of protection. Strictly speaking it doesn't rely on WP and keeping things independent is not a bad idea in context of security.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.