• Resolved duder1209

    (@duder1209)


    About a year ago I was forced to take down my blog from my server. I had about 200 posts on there and copied the blog directory from my server to my hard drive. I now need to recover these posts (primarily the titles/text) and ideally I’d like to keep a copy of them in a Word document.

    Even if I have to put it back online in order to do this, that’s fine. The problem is, another blog now occupies the former blog’s URL. What should I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have a copy of the original database? Because that’s where your posts were stored – not in files.

    Thread Starter duder1209

    (@duder1209)

    Well the blog that I have up now has taken over the folder/URL. Does that mean it discarded the old database?

    Moderator James Huff

    (@macmanx)

    If the MySQL database for the original blog is gone, then your content is gone with it. Your database has nothing to do with the files or the directory that they’re installed in. There’s a still a chance that your database was not removed from the server. Do you have access to phpMyAdmin (most hosting providers offer this in their control panel)?

    Thread Starter duder1209

    (@duder1209)

    Yes. But when I looked at the wp_posts table I only see entries from my new blog. Is that the table where the posts would be?

    Moderator James Huff

    (@macmanx)

    Yes. If that’s the only MySQL database on your server, then I’m afraid the old database (including the content it held) is long gone. There’s a chance that your hosting provider might have a backup on hand, but that would be your only option.

    Thread Starter duder1209

    (@duder1209)

    Yeah it was awhile ago so that stuff is gone. Fortunately, I opened up an XML file and found most, if not all my entries in there. They’re a little mixed with some HTML code but it was easy to extract them. Hope this helps anyone else who finds themselves in my position!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Extracting Posts From PHP Files’ is closed to new replies.