• Resolved onirisweb

    (@onirisweb)


    Hi there,

    I put an hataccess with htpassword in my wp-content file to restain the access of the site content.

    This is a request from my customer who didn’t want that I put a maintenance plugin(don’t ask me why, I never really got a correct answer for that).

    So here is my htaccess code :

    ErrorDocument 401 "Error 403: Forbidden Access"
    AuthType Basic
    AuthName "forbidden access"
    AuthUserFile "/home/mysite/www/wp-content/.htpasswd"
    require valid-user

    And here is the structure of my htpassword :

    myid:myencodedpassword

    Please check the site : https://demo2-onirisweb.com/

    If you use any navigator it is ok, you can’t access the site until you have the correct id and password.

    But on internet explorer (I really hate this navigator), ID and password are not recognized. And after some failed authentification, the site appears !

    I’m just amazed by this issue and really don’t know how to solve it.

    I got some same topics where it was said to avoid any empty space after each code line : I have nothing. Same for some advices that say not to set the site with www for the URL.

    Any suggestion ?

    Thanks for your help ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Where did you put the .htaccess file code you listed above? It should be in the root folder of the site, not inside the wp-content folder.

    Thread Starter onirisweb

    (@onirisweb)

    It’s the same ??

    Despite the good credentials are entered, IE doesn’t recognize them.

    I got an email that it works, but your message here says it doesn’t. Did you update it or is the thread still caching an old reply?

    Thread Starter onirisweb

    (@onirisweb)

    First I believed it worked, but in fact not. So I edited this message to cange it by the one that you see above

    Which version of IE is it?

    Thread Starter onirisweb

    (@onirisweb)

    This is version 10

    Does IE work if you remove this line? ErrorDocument 401 "Error 403: Forbidden Access"

    Also it might be helpful to clear all the cache in IE. It has a history of doing weird things with htpasswd things.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘issue with ie about htaccess’ is closed to new replies.