• I have permalinks set as /%category%/%postname%/…and all pages are coming up not found. I thought it was a problem with my theme, as I am also having trouble with images & styles loading correctly, but I think these are two separate issues.

    Anyway, one thing at a time…if you go here: http://www3.factech.com/ you can click one of the links and you’ll see what I mean. Forget the way it looks for now, I will have to fix that…but all links go to a 404 page. Any idea what could be causing this?

    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Did you get any message about changing the htaccess file?

    Thread Starter webbcity

    (@webbcity)

    No, I didn’t…but since you mention that, I did notice references to the htaccess file when I was searching for info on this issue. My knowledge of how htaccess works is minimal at best though. Is there something I should be looking for in that file?

    Change permalinks to default. If your .htaccess file is not writtable you will get a message and text you should add to it. If it is writtable you won’t get a message. This is just a test.

    Once you know the answer, change your permalinks back and if you get the message you will have to edit the file yourself. Otherwise it should be fine.

    You can see the file with FTP or from your hosted account but often you need to change a setting to see invisible files.

    Thread Starter webbcity

    (@webbcity)

    Actually some of this is coming back to me now…when I initially set this up I did get that message, and had to paste the code into the htaccess file. I think at that time everything worked fine.

    This time around I tried pasting the message again, and that still didn’t work. Then I changed permissions on the htaccess file via FTP, reset the permalinks again, and no longer got the message in the dashboard, BUT…it still doesn’t work!?! Very strange…

    Have you changed it back? 644 is normally required and recommended for .htaccess files.

    You might want to check it to see what it says. It should say, at the very least . . .
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter webbcity

    (@webbcity)

    Thanks so much for all your help on this.

    I set permissions to 644 and just took a look at the file…here’s what it says:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

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

    # END WordPress

    (Not sure why everything is in there twice…could that be causing problems?)

    You can delete the top one but that wouldn’t cause the cause a 404 problem as far as I know.

    Do you actually have any entries in those categories? You need a entry or you will get a 404.

    Thread Starter webbcity

    (@webbcity)

    Not sure what you mean…if I am understanding you right, the answer is yes– the pages do exist…if I click on the “View Page” link from any of the pages when I’m in editing mode, I also get the 404 error. I can see the URL it has set for that page, but when I go to that URL, nothing is there.

    Thread Starter webbcity

    (@webbcity)

    Also, I should check this…the htaccess file is in the root folder of the WP installation, is that the right place?

    Also, I should check this…the htaccess file is in the root folder of the WP installation, is that the right place?

    Yes

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    – resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter webbcity

    (@webbcity)

    I did try switching to the TwentyTen theme earlier, but that didn’t fix it…will try the other two and report back in a moment…

    Thread Starter webbcity

    (@webbcity)

    Nope…no dice. This is mind-boggling. πŸ™

    Tried something else too, just for kicks: created a brand new page to see if I could view that one…same deal. The page is there, in WordPress, but it can’t be viewed at the corresponding URL.

    This must have something to do with how you are set up on the server.

    The www site works fine while the www3 site gets 404s. I am thinking a permission problem.

    Thread Starter webbcity

    (@webbcity)

    This is truly baffling…I’ve set permissions on the entire thing as high as they go (which I know is not particularly safe), and the issue is still there. Agh.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘All pages return 404’ is closed to new replies.