WordPress.org

Ready to get started?Download WordPress

Forums

Stats directory, 404 not found (3 posts)

  1. roniabirk
    Member
    Posted 8 years ago #

    I upgraded to WP 2.0 last night, and it all went smoothly with the exception of this.

    When I visit a directory that is meant to prompt me for a username/password (i.e., /stats/), WordPress somehow overrides that and decides to deliver a "404 not found" error. This *was* working just fine before. I noticed it with the /cgi-bin/ folder as well, but I attributed that to my own error because it was before I knew my stats directory was also failin.

    I am guessing it is something in the .htaccess or auth files? Help would be most appreciated. I searched but didn't find anything on this, and I live for my stats. Yes, honestly I am that sad. ;-)

    Thanks!

    ETA: This post seems to cover a lot of the issues.

  2. roniabirk
    Member
    Posted 8 years ago #

    I just updated my WordPress, and it didn't break my stats this time, but it does break my Gallery 2.0. It's just a subdirectory (http://www.stripedwall.com/gallery), but it goes to the 404 page. I tried adding it to my htaccess just like I did for the /stats/ directory, but it still gives a 404.

    Help? My htaccess:


    # WP Fix
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^/gallery/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^/failed_auth.html$
    RewriteRule ^.*$ - [L]
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  3. roniabirk
    Member
    Posted 8 years ago #

    I also just created a junk folder with a blank index.htm file in it, and WP doesn't try to 404 that one. Argh.

    http://stripedwall.com/junk/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags