Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11679

    Hello,

    I placed a file “htaccess” and “htpasswd” in the admin to protect it, I made a test purchase with WooCommerce by enrolling with a new account the problem is that the client can not go up the order it is blocked by a pop up opens asking him to identify himself.

    I then delete both file and it works but the admin does not protect.

    Is it possible to protect the admin without it causes a blockage at the shop?

    Thank you for your help

    Regards

    Aaron

    #72629

    Hi Aaron,

    Just for clarification, what admin folder are you trying to protect? WordPress’ admin (wpadmin) or WooCommerce’s admin folder? I’m going to tag other support team members to see if that may have an answer for you.

    Regards,

    Mya

    #72630

    Hi!

    I don’t think it’s possible because some ajax requests are required and if you block the directory for unauthorized users these ajax requests won’t work too.

    Regards,

    Peter

    #72631

    Thank you for your answers, but to respond to Mya I put the “htpasswd and htaccess” in the “admin”

    Regards

    Aaron

    #72632

    As Dude said, I don’t think it will be possible to restrict folder access in the way you are describing. You might want to check with the WooCommerce forums if you are worried about security issues and definitely look into forcing transactions with SSL.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘htpasswd problem’ is closed to new replies.