WordPress.org

Forums

Upgraded from 2.5 to 3.1.1 and lost my posts (they still exist but I get a 404) (11 posts)

  1. mcleodjeff
    Member
    Posted 4 years ago #

    Hey I was using 2.5 and finally made the upgrade to 3.1.1. I follow WP's guide to safely upgrading (http://codex.wordpress.org/Upgrading_WordPress_Extended).

    Afterward, everything seemed great, until I went to visit a post. It says that page doesn't exist. Here's an example:

    Not Found

    The requested URL /blog/is-the-government-getting-coordinated-on-homeowners-in-foreclosures/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    The actually url is: http://foreclosureresolutioncenter.com/blog/is-the-government-getting-coordinated-on-homeowners-in-foreclosures/

    I've tried changing themes. I've tried changing the permalink naming structure. I've tried updating the post. Nada.

    Any ideas?

    Thx.
    -j

  2. Tara
    Member
    Posted 4 years ago #

    did you do incremental upgrade as suggested in the codex you referenced?

  3. mcleodjeff
    Member
    Posted 4 years ago #

    Ahh crap! I didn't even see that. I just followed steps 1-14.

    OK, so I have a backup of the database and a copy of the files on the site. Should I restore those then go back and upgrade incrementally from there?

    -Jeff

    ps: thanks for pointing that out!

  4. Tara
    Member
    Posted 4 years ago #

    follow the codex guide and start again.

  5. mcleodjeff
    Member
    Posted 3 years ago #

    Ok, so I reverted to my backups and everything was working just fine on 2.6 again. So I tried the incremental upgrade strategy and moved up to 2.7. I immediately experienced the exact same problem. On the main page (blog) the content is there. But once I click through to the individual post I get a 404.

    Any ideas?

    -Jeff

  6. Tara
    Member
    Posted 3 years ago #

    did you deactivate ALL plugins as recommended (Step 4) in the codex you referenced prior to updating?

  7. mcleodjeff
    Member
    Posted 3 years ago #

    Yup, I did. Any now I've gone into the .htaccess to make sure it has the right settings. It was 644 but now it's 666. Made sure it has:

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

    But now, about half of the pages in the admin area aren't accessible. I can access/edit pages and posts, but I can't go to the categories page, the tags page, the plugins page, and I imagine a bunch more (but I'm not sure).

    I'm getting nervous!
    -Jeff

  8. Tara
    Member
    Posted 3 years ago #

    are you using permalinks?

    if you are, Try resetting your custom permalinks back to the default setting and renaming your WordPress .htaccess file. If that works, then try reading Using_Permalinks before setting a custom permalink structure again.
    Documentation: http://codex.wordpress.org/Using_Permalinks

  9. mcleodjeff
    Member
    Posted 3 years ago #

    What do yo mean by 'renaming your WP .htaccess file'. You'll have to excuse me, I just learnt about this file yesterday.

    -Jeff

  10. mcleodjeff
    Member
    Posted 3 years ago #

    I've played with the permalinks as much as I can. I've gone back to defaults, no luck. So I changed the structures a few different ways. Still no luck.

    I've tried changing the slug right from inside the post. I've created new posts. None of this has helped so far.

    Any other suggestions?
    -Jeff

  11. Tara
    Member
    Posted 3 years ago #

    -try contacting the hosting provider if they have any problem at their end, or they made any changes to your account, or if there are any limitations/restrictions, etc. Also check with them if you need to upgrade the hosting account in order to install and run 3.1.1

Topic Closed

This topic has been closed to new replies.

About this Topic