Turning PAGES into POSTS (a large number of them)
-
Hi Guys,
I have a friend that has a blog, and she’s a bit of a newbie to WordPress and totally not technical.
So I am handling all her tech business, to the best of my knowledge and abilities.Her being a beginner has lead to a lot of stuff for me to fix, in order for her website to be…well pretty.
Long story short, she had a menu of 84 pages + some categories and other stuff in it.
I need a way to turn the whole bunch into blog posts; except, well two or three.
I don’t feel comfortable doing 84 queries to replace stuff in the mySQL database, plus it would take ages.My solution is: I exported the .xml for pages, I indend to delete from there the pages I want to keep and modify the XML so that the pages become posts.
Now:
As I see and read in the two different types of xml downloads the only differences between the pages and posts is here:<wp:post_type>page</wp:post_type>
as opposed to:
<wp:post_type>post</wp:post_type>
So if I replace the first with the second in my .xml, and add this:
<category domain="category" nicename="new-category"><![CDATA[New Category]]></category>
to every post, in it’s rightful place so I can track in the upload everything (the number of posts, etc.) so I dont mess up I should be ok?
Is there something I am missing?
Thanks!
- The topic ‘Turning PAGES into POSTS (a large number of them)’ is closed to new replies.