Batch export, import, create links in your WordPress blog
It is easy to add a lot of links to WordPress in a single click, especially when you have exported them, but even if you create them now for the first time.
To export your links and import them again
1) Send your Browser to the address
YourBlog.com/wp-links-opml.php
(If your address is not a .com but .org, .net, etc., change this accordingly). View the source of the page that your browser returns and save it as mylinks.opml
2) At the Dashboard of your other site go to Links > Link Categories and create a category for the links you are going to import. Then go to Tools > Import > Blogroll
WordPress will offer you to install an import plugin. Agree and after installation finishes, locate the OPML file on your disk to import the links to WordPress. That’s it!
To create a links file to import
1) Open your Notepad (simple text editor) and paste these lines:
<?xml version="1.0"?> <opml version="1.0"> <head> <title>Links for my WordPress Blog</title> <dateCreated>Sat, 23 Jul 2011 05:30:23 GMT</dateCreated> <!-- generator=" https://www.thefreewindows.com " --> </head> <body> <outline type="category" title="My New Links Category"> <outline text="" type="link" xmlUrl="" htmlUrl="" updated="" /> <outline text="" type="link" xmlUrl="" htmlUrl="" updated="" /> <outline text="" type="link" xmlUrl="" htmlUrl="" updated="" /> <outline text="" type="link" xmlUrl="" htmlUrl="" updated="" /> </outline> </body> </opml>
2) Write at the first “text” entry the title of your link, e.g. Great Freeware, and at the following “htmlUrl” entry the address of the link, e.g. https://www.thefreewindows.com , leaving all other fields empty (the “xmlUrl” and “updated” fields)
<outline text="Great Freeware" type="link" xmlUrl="" htmlUrl="https://www.thefreewindows.com" updated="" />
Repeat this for the rest 3 outline text and htmlUrl entries. This will let you batch import to WordPress 4 links, but you can copy and paste the blank <outline text… lines as many times as you like to import even hundreds of links.
3) When your links file is ready save it as somename.opml, then go to the Dashboard of your blog and import the links to WordPress the way described in the first part of this post.