Support » Fixing WordPress » Pages Converted to Posts

  • I grabbed a SVN (I KNOW the risiks, but I used to upgrade nightly anyway), found the latest to be too buggy, reverted.
    Now the problem is…..
    In between I upgraded my db, and I reverted and had to upgrade my db again.
    I went back to the svn soon as it had somechanges, its running fine, except that after upgrading the SQL again, my pages were converted to posts!


Viewing 2 replies - 1 through 2 (of 2 total)
  • if you can get a list of the ID’s of the pages, you can do a sql query to change the post_type back to page … if you can/want to take the time to find them all, we could come with some code for you.

    OR if you have a backup of the DB before you got the svn, restore it then run upgrade on that …

    Matt Read

    Thank you Matt.
    There were only 3 pages, so I modified the SQL by hand.

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