• Resolved trumpy81

    (@trumpy81)


    I just upgraded to 2.9.1 and now the only page that displays, apart from the backend, is the Home page.

    Any links displayed on my homepage produce a 404 error.

    Anyone have any ideas what the problem may be?

    All my data seems to be intact, comments, articles etc.. no obvious errors in the database.

    I’m lost! Helppppppppppppp!

    TIA

    My site is http://trumpy.net

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 default theme to rule out any theme-related problems?

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

    – resetting your custom permalinks back to the default setting?

    Thread Starter trumpy81

    (@trumpy81)

    Esmi, I tried as you suggested to no avail.

    I only have 2 plugins, no custom permalinks and changing themes did not resolve this issue.

    Also, I noticed there is nothing in my .htaccess file except this:
    # BEGIN WordPress

    # END WordPress

    Should there be anything in it?

    My install is pretty much straight out of the box.

    Your help is appreciated.

    Thread Starter trumpy81

    (@trumpy81)

    It seems that I answered my own question. I checked a backup copy of .htaccess and it contained the following:

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

    I added this file to the server and voila! all is working again.

    The question that remains is why/how was this file altered?

    Difficult to say. It could be a server-related hiccup and therefore one of those completely innocent but annoying things that happen from time to time. If you’re worried that it might hint at tampering or a hack, this post contains some good advice about what to check.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘404 error on all links’ is closed to new replies.