How to Import Your WordPress Blogroll or Links From One Site to Another
Under Tools in the WordPress settings are the import and export options. This can be really useful when you are moving a blog from one location to another or if you are moving a WordPress.com hosted blog to a self-hosted one.
The export/import feature, however, does not include your blogroll. If you have a large one it can be very tedious to recreate.
But, there is a way, to transfer the blogroll so it doesn’t have to be recreated manually.
In your WordPress installation is a file called wp-links-opml.php. This opml file contains all of your blogroll data.
Here’s how you can obtain the info.
- In your web browser go to the site that has the blogroll that you want and include the name of the opml file at the end of the URL. For example, http://www.you-site.com/wp-links-opml.php
- You will see an ugly XML file in your browser that looks similar to the following:
- Save this as a text file. It MUST be a .txt file to import properly. You can go to File > Save Page As in your browser (Firefox). Name the file and put .txt as the file extension and change Save As Type to All Files. You can also highlight the text, copy to the clipboard, paste into a text editor and save as a .txt file.
- So now that you have the links saved in a text file, go to your new blog and in WordPress go to Tools > Import.
- Select Blogroll, which is the 2nd choice.
- Choose From Local Disk. Locate the saved text file on your hard drive.
- Here is the one downside to this. You can select a Category for your links, if you even use that feature, but you can only choose one. So, if you were using multiple link categories, you will still need to do this part manually. But, at least everything didn’t have to be done manually.
- And that’s it. You’ve moved your blogroll from one blog to another. As I mentioned this is very useful for those moving from a WordPress.com blog as they don’t have direct access to the database.
Yay! Less typing that recreating all of the link data manually.
photo credit: Laundry Broad
Related Posts:









December 7, 2009 at 1:54 pm
I never had to do this but I can see how it would be helpful.
Thank you for the tip.
StevenLeconte.com´s last blog ..This Guy Is My Hero
December 8, 2009 at 8:39 am
Hi Steven – Thanks. I had to do it recently so I thought I would do a quick
post on how to do it.
December 7, 2009 at 4:15 pm
I’ll join your “yay” :)
vered | blogger for hire´s last blog ..Former Miss Argentina Dies After Cosmetic Surgery
December 8, 2009 at 8:39 am
Hi Vered – :-) Yeah, I’m not much for data entry.
December 8, 2009 at 9:31 am
Sidenote – Blogrolls are inherently do follow. Keeping a long list will make Google suspicious, at least.
Dennis Edell´s last blog ..Blogging Halted Here – Don’t Despair, This Is A Good Thing!
December 8, 2009 at 11:49 am
Hi Dennis – Yes, they are. If it’s an issue, there a couple of nofollow
blogroll plugins.
January 18, 2010 at 9:19 am
Its a Great post.
I am very new to Wordpress and needed to add the same Links of Blogroll of one site to other 5 sites having wordpress.
This is surely gonna make the task easier.
Thanks for this nice post.
January 18, 2010 at 3:27 pm
Hi Param – Great! I’m glad it will help.