Page not found error 404

I’m not sure whats going on. Every time I try to create a page and press preview It looks fine, but when I press publish and I go to view my post It gives me the 404 error. I just Installed Multi-DB yesterday so I don’t know if It has something to do with that. Anyone came across this Issue?

  • drmike
    • DEV MAN’s Mascot

    Jay, it’s would be a lot easier if we can see what’s occurring. Can you please provide some URLs? Also checking your webserver’s error logs to see what the specific error is is always a plus.

    Please remember that only you can see what is occurring.

  • Jay Casi
    • Flash Drive

    I have notice that this install did not create a .htaccess file there only a htaccess.dist. I hope I don’t have to Install WPMU all over again :slight_frown: are those files different from each other? I have never compared them.

    Heres the htaccess.dist file:

    RewriteEngine On

    RewriteBase BASE/

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

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

    RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]

    # add a trailing slash to /wp-admin

    RewriteCond %{REQUEST_URI} ^.*/wp-admin$

    RewriteRule ^(.+)$ $1/ [R=301,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]

    <IfModule mod_security.c>

    <Files async-upload.php>

    SecFilterEngine Off

    SecFilterScanPOST Off

    </Files>

    </IfModule>

  • Jay Casi
    • Flash Drive

    Do you mean this line: RewriteBase BASE/ to RewriteBase / ? I tryed It and no luck. I did try to change the file to .htaccess but I couldn’t connect to the server for some reason.

    I actually have WPMU installed in a sub directory called /wordpress-mu. Root directory wasn’t working for me.

  • Jay Casi
    • Flash Drive

    I don’t know what was going on with It, but I have re-installed wpmu and multidb and Its working fine now.

    I think It was a plug-in I had Installed called google sitemaps and on top of that I had Installed the SEO pack. I remember my server lagging almost not responding so uninstalled Google sitemaps and It was running back to normal except the broken post links. It also Installed .htaccess this time around.

    I guess I have to be more care full of what I install. :slight_smile:

    Thanks.