• gilc

    (@tuneupgeek)


    I got a sudden 404 on all my pages except the home page. I tried to troubleshoot the permalinks but no joy. Pretty URLs are not working. Only default. I even went to transfer to another host just to test but same thing. Htaccess is default.

    Any advise?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter gilc

    (@tuneupgeek)

    Thanks for the reply. I did all that. But still getting 404s. Currently using /index.php/%postname%/ just to keep the site up. This all started this morning. I also tried to rollback the site to last month backup but same thing.

    # 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

    Hello @tuneupgeek

    Backup your .htaccess file.

    Create a new blank .htaccess file(set the permissions to 777 ) and update your permalinks again.

    Go to Admin > Settings > Permalinks and change it to something else and save.

    Then again select your desired settings and save. Hope it will solve your 404 problems.

    Thanks

    Thread Starter gilc

    (@tuneupgeek)

    Thanks for the input. Actually it was fixed by itself. I dont know what happened. Now it’s happening on a different site. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sudden 404 on all pages’ is closed to new replies.