WordPress.org

Ready to get started?Download WordPress

Forums

wp-login and htaccess protection on wp-admin (9 posts)

  1. nico59
    Member
    Posted 3 years ago #

    Hello

    I've protected wp-admin with an htaccess password.

    But when members want to login with wp-login the htaccess passord is asked to members

    Is it possible not to get the htaccess question when acess to wp-login ?

    Thank you very much for your help

    Nicolas

  2. nico59
    Member
    Posted 3 years ago #

    i wonder if just restricting ips in the htaccess would be a solution ?

  3. nico59
    Member
    Posted 3 years ago #

    actually ip restriction is not a good solution as i would need to put every ip of every author in the htaccess...

    Still wondering how to protect wp-admin/ AND let my authors login ?

  4. MickeyRoush
    Member
    Posted 3 years ago #

    Have you whitelisted the ajax handler (admin-ajax.php)?

    http://www.nicolaskuttler.com/post/htaccess-protect-wordpress-admin/

  5. nico59
    Member
    Posted 3 years ago #

    Hi

    Yes tried that but it looks like WordPress needs other files in wp-admin/ when a user want to login

    Maybe i should whitelist some other files in the htaccess to allow users login ?

  6. nico59
    Member
    Posted 3 years ago #

    If only i could now what files in /wp-admin/ are called by wp-login, i could whitelist them in the htaccess protection

  7. MickeyRoush
    Member
    Posted 3 years ago #

    If only i could now what files in /wp-admin/ are called by wp-login, i could whitelist them in the htaccess protection

    I've done this in the past and I have a certain set that I whitelist (sorry I don't want to list them here).

    Use Firebug with your browser first to check and see first. Then look at your server logs to see what's being accessed and what's throwing up the request.

  8. nico59
    Member
    Posted 3 years ago #

    Thank you for your answer, i sent you a mp on Webmasterworld ;)

  9. nico59
    Member
    Posted 3 years ago #

    i just tried to whitelist some files in the htaccess but couldnt find the good ones...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.