The MU forums have moved to WordPress.org

New 404 problem started - by itself - today. (3 posts)

  1. kevvin
    Member
    Posted 15 years ago #

    So my website has been working fine with subdomains, over at

    http://nationalvirtualmemorial.org

    ...until today. I had installed bbpress a couple weeks ago in the /message_board folder, and it looked great.

    Tried to access it this morning and suddenly got a 404 error.

    Went in and looked at my .htaccess file, and see this:

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    ...which looks fine to me. But as soon as I exited the file (I saved it instead of simply exiting, don't know why), the photos that are supposed to be getting pulled out of the /photos folder aren't showing up either.

    What have I done? I can't get to anything in a subdirectory anymore. And when I open the home page in Firefox, it never finishes loading.

    **Updated to add: Also can't get to the admin pages.

  2. kevvin
    Member
    Posted 15 years ago #

    Sorry for the double post, but found my OLD .htaccess file in a local folder, and uploaded it...it looks like THIS:

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    So it would appear that somehow, the line

    RewriteRule . - [L]

    ...was missing.

    Photos show up fine now, and I can get to the admin pages. But I still get a 404 error when I try to go to http://nationalvirtualmemorial.org/message_board

    ??!?!?!?!

  3. andrea_r
    Moderator
    Posted 15 years ago #

    Ask your host if they changed anything. That's usally the reason for anything to suddenly stop working.

About this Topic