• I′ve got a .htaccess protected directory installed in a wp subdirectory. I′ve got access to all directories within a password, but wp only works with entering the password for two times. If I enter the password only one time and press the cancel button, wp appears without the theme display.

    Can anybody help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You should post a detailed description of your environment, e.g.; Where is wp (root or in a sub-directory)? What’s the path to the protected directory? Where are your .htaccess files and what are their contents (XXX out private info)?

    Thread Starter renel

    (@renel)

    Hey Yosemite,

    protected – htaccess is here: mysite.de/a/b/

    content of htaccess:
    AuthType Basic
    AuthName “Access for /b”
    AuthUserFile /user/homepages/nr/usernr/htpasswd
    require user xxxxname

    wp is here: mysite.de/a/b/c/index.php

    content of wp htaccess on c:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /b/c/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /b/c/index.php [L]
    </IfModule>
    # END WordPress

    Every directory after b ist protected one time, only wp.

    In General:Options do you have your URI’s in the form of w ww.renel.com or just renel.com? If it’s (no-www) renel.com you may have to change it to www.renel.com.

    And check here too:
    https://httpd.apache.org/docs/1.3/misc/FAQ.html#prompted-twice

    Thread Starter renel

    (@renel)

    Yosemite, many many thanx! ?? rene

    Welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp behind .htaccess’ is closed to new replies.