This is a post I had written on my old Tumblr, and since that site is now gone I am re-posting it here. Which is kind of funny, since I came full circle and love being back on WordPress, but someone out there may still find this useful…
When I had previously decided to migrate to Tumblr, there were a few key obstacles to overcome:
- There is no direct method of importing WordPress posts into Tumblr.
- I wanted to preserve all the tags associated with the WordPress posts as they were transferred over.
- I did not want previous comments lost.
The final point was resolved with Disqus, but what of the other two?
In the end, I wound up being able to do this, but it was a bit involved. It entailed exporting my WordPress site to Blogger, then using a special online tool to migrate the Blogger site to Tumblr.
Here’s what I did:
- Export your WordPress blog to an XML file. For self-hosted WordPress sites, after logging in to your WordPress account, go to the Dashboard, and down along the sidebar you will see the Tools link. Click on this, and you will see an Export option. It’s pretty straightforward after this.
- If your XML file is less than 1MB in size, you can go to this site in order to convert the WordPress XML file into a Blogger-compatible XML file. Then go to step 4.
- If your XML file is larger than 1MB in size, you’ll need to try the following. Bear in mind that you can probably do the following in less steps, but I am going to explain how I did it, what worked best for me, and you can adjust from there.
- It would be best if you had a text editor that can deal with multiple, large files easily; I’m partial to Notepad++. Also, make a backup copy of your WordPress XML file.
- Take your XML file and open it in your editor of choice. You’ll see a bunch of text at the beginning explaining what the XML file is. As you scroll down, you’ll see comments / syntax, and you’ll see your blog information (such as title, etc.), along with the categories and tags listed. Scroll down through your listed tags until you see the line <item>. This signifies the beginning of your posts in the XML file. What you’ll want to do is take everything from the beginning of the XML file down to just before the first <item>listing and copy that to a new text file. Call it whatever you want; I’ll be using the name xmltemplate.txt for this article.
- Scroll down to the very bottom of your XML file. You’ll see the last two lines are </channel> and </rss> (on separate lines). Copy these two lines to the end of your xmltemplate.txt file (hit enter a few times to leave space between these two lines and the larger block of text you copied in the previous step). Save this file.
- Keep your WordPress XML file open. Copy the contents of your xmltemplate.txt file to a new text file.
- Now, remember that first <item>heading we found earlier in your WordPress XML file? What you’ll want to do is start copying from that point (including the <item>) on down. How much you copy depends on how large your XML file is; what you’re looking to do is create a new XML file that is less than 1MB in size so that you can import it to be translated to a format Blogger can understand. So if your WordPress file is 2MB in size, you may need to create 2 or 3 smaller XML files using this process. What iscritical is that you end your selected text at an </item> tag, which denotes the end of a post, before copying.
- Take the text you just copied and paste it into your new file containing the xmltemplate information. You will want to paste it in just before the</channel> tag, in those extra returns I told you to enter earlier.
- Save this new file with a .xml extension (WP1.xml, for example). Make sure that it is not greater than 1MB in size.
- Repeat the above steps, taking the text from your xmltemplate.txt file and pasting it into a new text file, and then copying posts from where you left off in the WordPress XML file beginning with the <item> tag. Remember: always start copying at an <item> tag, and end your selected text at an</item> tag.
- Once you are done breaking your WordPress XML out into smaller files, you can go to this site in order to convert the WordPress XML files into Blogger-compatible XML files. Note: after converting a file, verify the size of the new XML file. It should be comparable in size to its counterpartWordPress XML file. If the resulting Blogger XML file is tiny (around 1K), open the file up in a text editor and you should see it contains an error. This means that the XML file you tried converting was improperly formatted. You will need to go back and double-check that you followed the above steps correctly, fix any missing tags, and try converting it again.
- Go to the Blogger Dashboard. If you do not have a Blogger account, set one up. Otherwise, create a new, basic blog. Once created, go into its Settings. Under the Basics heading, you’ll see a link near the top that says Import Blog. Click on this, and follow the instructions to choose the Blogger-compatible XML file you created in step 2 or 3. Make sure to check the box Automatically publish all imported posts. Once you click the Import Blog button, it will take a few moments for the process to complete. Once it has finished, click on the Dashboard and verify that the blog entries have been properly published and retained all the tags. If you have multiple XML files to import, repeat this process until you have imported all of your posts.
- Once your temporary Blogger site is ready, go to this site, which is an online tool for importing Blogger sites into Tumblr. Follow the straightforward on-screen instructions to complete your journey. Note: for those uncomfortable with supplying your Tumblrpassword, just change it beforehand and change it back after the process is complete. That’s what I did.
- And now you should be done.
One tip: make sure that you turn off the option to send updates to Twitter before you import your posts. Outside of tweeting a number of old posts, I unwittingly went over my Twitter limit because I forgot to turn off this option before the import.
And there’s my experience with moving over from WordPress to Tumblr. I’ll probably be tweaking this “guide” in the future; if you find it useful, feel free to drop me a line. If you have any tips / suggestions, let me know and I’ll update the guide accordingly.
Very useful notes! Thanks a lot.
LikeLike
Thanks!
LikeLike
My issue is… when I click “Export” on WordPress, it downloads a VIDEO GAME! Not my blog content! It is saved as an XML file, but when I try to open it it goes to some stupid game! What the heck. Can you help?
LikeLike
Well that’s not fun….:(
LikeLike
Wow, a video game? Which one?
You should be prompted to save the file (if not, right-click on the link and select “Save As…”). Likewise, you can right-click on the XML file, select “Open With” and select a different program to open it with (such as WordPad or Notepad).
LikeLike
[…] is to import them into blogger, and then use this tool to import that to tumblr. Here is a good post that explains it more in […]
LikeLike
Works a treat! Thank you
LikeLike
Is there a way to import from Blogger to Tumblr that will keep the posts’ original post dates?
LikeLike
It’s been a while since I have looked at this method but I thought the original dates were preserved. If not, then I don’t know of another way, sorry.
LikeLike
can i delete blogger blog once done?
LikeLike
If you want to.
LikeLike
Went through steps 1 – 4 just fine, but I am stalled on step 5; the importer tool is not working. I receive a “bad email or password” error despite the fact both are correct. Ugh.
LikeLike
ditto
LikeLike
This was very helpful. Thank you!
LikeLike
Thanks a lot Julio for this howto. I got 2 blogs migrated from wordpress to tumblr and my old webhost can be removed in a few weeks.
I’ve taken your approach and added a few aspects more (supporting old url scheme, migrating comments and images): http://howto.pui.ch/post/37850192094/how-to-migrate-your-wordpress-to-tumblr-including
LikeLike
Do you know of any other sites that are hosting the conversion utility? The WP to Blogger site has shown Over Quota for days….maybe longer.
LikeLike
Sorry, I don’t know. I’ll take a look and update the page accordingly.
LikeLike
Thanks! That seems to have worked like a charm.
LikeLike
[…] creado un blog puente en Blogger, info aquí. Ya que Tumblr no tiene un sistema de import desde XML, pero sí […]
LikeLike
My blog was larger than 1 MB, but I used this tool and it split the xml in three. Very handy: http://suhastech.com/wordpress-wxr-xmlfile-splitter-for-mac-os-x/
LikeLike
Hi there just wanted to give you a quick heads up and let you know a few of the images aren’t loading properly.
I’m not sure why but I think its a linking issue. I’ve tried it in two different web
browsers and both show the same results.
LikeLike
You really make it seem really easy with your presentation however
I in finding this topic to be really one thing which I believe I would never understand.
It kind of feels too complicated and very wide for me.
I’m having a look ahead in your subsequent put up, I’ll try to get the dangle of it!
LikeLike
Reblogged this on Lucas Gelfond.
LikeLike