• Resolved momsbistro

    (@momsbistro)


    So, I can’t read apparently, and I didn’t back up my website properly (I used an external backup that doesn’t work with WordPress…:|), so I lost all of the content of my posts. Is there anyway at all that I can get all of this information back?

    Any help would be greatly appreciated. I lost EVERYTHING 🙁

    Thanks,
    Lindsie

    http://wordpress.org/extend/plugins/convert-post-types/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stephanie Leary

    (@sillybean)


    Oh dear. I’m so sorry to hear that! Do you have access to your database through PHPMyAdmin or some other tool? If so, check your wp_posts table to see if the posts are still there, perhaps with something other than ‘post’ in the post_type field. If you’ve just accidentally changed the post type to one that isn’t registered anymore or something, they would no longer show up in your admin screens, but they’d still be in the database.

    If they are, then it would be fairly easy to fix with a query. For example, here’s how you would look for all posts and change them into pages:

    UPDATE wp_posts SET post_type = 'page' WHERE post_type = 'post'

    Just replace ‘post’ and ‘page’ in that snippet with the post types in your site, then paste that into the SQL tab in PHPMyAdmin (or whatever).

    Well, I see the post name in the list, and when I view it, I see that the page is still there, I have just lost all of the text of the posts. Is this something different?

    All of the posts I wanted switched to ‘recipes’ are there, they just have absolutely no text.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost Content’ is closed to new replies.