Posted on 7 December, 2009 By Kim Woodbridge 12 Comments

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

 
Share

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. You can also connect with my Facebook page or follow me on Twitter.



    12 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> .

    CommentLuv Enabled

    Recent Comments

      • Ari Herzog: Agreed on the updates/inbox snafu. I rarely see page updates and I know where they are! .-= Ari Herzog´s last blog .....
      • jayson: Kim, Love the themes. I am looking to update the theme on my site to something more appropriate. My site is all abou...
      • vered: "I wish more people would use this. I think it’s silly when I get updates for things occuring in Kansas and California –...
      • Dennis Edell @ Direct Sales Marketing: I was speaking generally, not specifically this month. how exactly do you work things? .-= Dennis Edell @ Direct Sales M...
      • Lucy Beer: Unfortunately I think next to no-one actually sees those "Updates". They're buried in a subsection of the inbox and I do...
      • Kim Woodbridge: Hi Marbella - Thanks! I had a great time....
      • Kim Woodbridge: Hi Julie - I'll probably try kayaking again next summer but I don't know if I will become much of a kayaker - I had a di...
      • Kim Woodbridge: Hi Vered - If you ever get the chance, you should go. It's like a different world - it's so quiet and peaceful....

    About

    Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

    Wordpress Services

    • Installation, upgrades and maintenance
    • Conversion of existing html and css templates
    • Theme and plugin recommendations
    • CSS customizations
    • Troubleshooting and tweaks for unique situations
    • Customization for individual blogging goals and needs
    • Training and advice