Support » Fixing WordPress » Updated to 3.5 and all pages are getting a 404 error.

  • Resolved Blake Anthony

    (@blake9825)


    When I updated from 3.4.2 to 3.5 all of my pages with the exception of the home page are getting a 404 error.

    I went into settings and saved the permalink structure to what it was prior to the update but the issue still exists.

    Please help.

    Here is the URL:
    http://www.accurateleads.com/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Works fine for me. Bluehost is a good host, so it’s not that.

    Thanks for the response.

    I found that when the permalinks are set to default it works but when I switch to /%postname%/ or any other permalink structure I get a 404.

    How can I fix this?

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Did WP tell you that htaccess wasn’t writable and you needed to manually edit .htaccess? Read Using Permalinks « WordPress Codex

    It did not tell me that.

    I will read through the link you posted and see if I cannot fix the .htaccess folder

    I tried adding:

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

    It still did not work. Here is my htaccess file:

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php

    # BEGIN W3TC Browser Cache
    <IfModule mod_mime.c>
    …….
    # END W3TC Page Cache core

    # 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

    Do you know what the issue could be?

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Get rid of all that W3TC junk by deactivating and deleting the W3TC plugin. It’s an old, unsupported cache plugin. Then resave permalinks.

    I was trying some other trouble shooting and fixed the problem. For some reason when I deactivated all the plugins and reactivated them it fixed. Im not sure why but I also cant complain.

    I greatly appreciate you looking into to it. Thank you.

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Good that it works; sounded like a plugin glitch. WP Super Cache is a much bettrer cache plugin, BTW.

    Thanks for letting me know. I will definitely give it a try.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Updated to 3.5 and all pages are getting a 404 error.’ is closed to new replies.