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.


1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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