Posted on 7 December, 2009 By Kim Woodbridge 8 Comments

How to Import Your WordPress Blogroll or Links From One Site to Another

Weck Rolls (by Laundry Broad)

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.

  1. 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
  2. You will see an ugly XML file in your browser that looks similar to the following:
    xml
  3. 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.
  4. So now that you have the links saved in a text file, go to your new blog and in WordPress go to Tools > Import.
  5. Select Blogroll, which is the 2nd choice.
    import
  6. Choose From Local Disk. Locate the saved text file on your hard drive.
  7. 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.
  8. 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:
  • How to add a RSS Feed to a Post or Page Using a WordPress Shortcode
  • How to Add a RSS Feed Without a Plugin Using the WordPress Fetch Feed Function
  • How to Create Your Own WordPress Shortcode
  • How to Style the Read More Link in WordPress
  • Using the WordPress More Tag to Control Content Displayed on Front Page
  • Posted In : WordPress Tips
    If you enjoyed this post, please subscribe to my RSS Feed

    Post to Twitter   Post to Delicious   Post to StumbleUpon

    8 Responses to “How to Import Your WordPress Blogroll or Links From One Site to Another”

    Leave a Comment
    You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .


    Recent Comments

      • Kim Woodbridge: Hi Dennis - I even have 2 domain names ... ;-)...
      • Kim Woodbridge: Hi Bobbi - We were discussing that issue on my Facebook page yesterday and no one knows a way to do it - I don't think i...
      • Dennis Edell: Seriously, if not a whole 'nother blog, then at least a page with just links to facebook resources. ;) .-= Dennis Edell´...
      • Bobbi: Thanks for the info on facebook pages... I was wondering if there is any way to check what other pages have added my ...
      • Kim Woodbridge: Hi Vince - LOL - nope....
      • Kim Woodbridge: Hi James - Great! I found a post yesterday about the Thesis theme that did the same thing for me....
      • Vince: Great tool! Do you know of a way to call an image's alt-text in another plugin's function?...
      • James: Just wanted to say thank you.. Your post saved my life/time with a client! .-= James´s last blog .....