Skip to main content

Export / Import Of Comments And Posts, In One Blog

Occasionally, some blog owners will get the urge to clean up the comments and posts in a blog,

Maybe the idea is to make the blog easier to read, or to make it easier to find important posts.

As in "spring cleaning" where we move everything out of a room in our house, so to clean the room completely, a blog owner may try exporting then re-importing all comments and posts.

Even deleting everything, then importing what was just exported will cause problems.
I exported to an XML file, deleted all my blog posts and then imported - but this process has added additional digits to all of my URLs and this will break all links to me. I've switched back to my address but all the URLs have additional numbers like this:

As I've noted earlier in advice about deleting posts, you cannot delete then re publish a post using the same URL. When you re publish a post, it will get a new URL. You will need to redirect the old URL to the new URL.

Similarly, you cannot export comments and posts, delete everything, then re import and re publish - without seeing the URL of every comment, and every post, published under a new URL.

If you are really determined to make this change, your "spring cleaning" plan will have to be expanded slightly.
  • Create a new blog.
  • Copy the template, and all accessories, gadgets and tweaks from the current blog to the new blog.
  • Import the comments and posts to the new blog.
  • Finally, swap blog URLs between the two blogs.

You can do this - but note, if you do, the complications of renaming your blog. Carefully assess each issue, decide if any issue is relevant to your blog, and decide how to handle each one that is relevant.

If you have a substantial Followers community, you should think twice. Followers will stay with the old blog - whether you swap URLs between the blogs, or not.

Look, before you leap.


Tammy Frost said…
Yikes...I am afraid of all the consequences of blog cleanup. I have been wanting to make new pages on my blog but I don't know how to import the posts that was made on the original blog. I was told I have too many urls on my blog. Is there any solid advice for cleaning up extra urls on a blog? For an example my help blog: has way too many urls and I want to fix this. Any suggestions? My other blog: has the same problem.

Thanks for any re-direction or help you can provide to me.
Nitecruzr said…

These would be good questions for a discussion in BHF: How Do I?.

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.