GreenEye Wire Heather’s happy little blog
  • Wordpress: 404 Error On All Pages.

    Filed under Foo, Wordpress
    Mar 20

    It took me forever to figure out this issue. No matter what I did, I kept getting a 404 error on all of the “Pages” I made in Wordtracker. The pages were in the database, and were even showing up in my left hand navigation under the category of “Pages”, but when I clicked to see the page, I got a 404.

    I went round and round checking everything. The database, the rights on every file, everything. It wasn’t until I messed with the .htaccess file that I found the issue. (And yes, that was the *last* thing I tried. Wouldn’t you know…)

    The solution, is rather simple. The culprit was my .htaccess file. Each “page” that is made has it’s own entry in the .htaccess file, and since my .htaccess wasn’t directly writable by wordpress, I’d get an error after I made each page. Unless I uploaded a new .htaccess file from the Options > Permalinks admin page.

    So, in order for this *not* to happen in the future, you can either make your .htaccess file writable by changing your file options to 666 in your FTP program or via a terminal window, or you can reload a new .htaccess file after you get all your static pages made.

    Now ya know.

One Response to “Wordpress: 404 Error On All Pages.”

  1. Excellent tip Heather. This one pissed me off for a long time, and the fix works brilliantly. Thank you.

Leave a Reply

 

November 2008
S M T W T F S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30