Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I saw this post yesterday where a 'custom' word is used to direct the user from to and I'm asking (also did so in the comments without an answer) if its possible to deny any access to the admin unless used a secret url, so if a user is not logged in and tries or wp-login.php he's denied access and only if he tries he's then redirected to the admin?


share|improve this question

1 Answer 1

I don't think that's possible using .htaccess alone.

Even if it were, what would be the usefulness of keeping a secret which would be displayed in plain text in the URL bar?

share|improve this answer
it will be only known to the editor/admin of the site, it's a secret as in a special 'keyword' just to get to door. – Amit Jan 13 '11 at 22:08

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.