How to add a link exchange manager into your blog
March 14, 2006 by Gaman
Exchanging links with other websites or blogs is one of the ways for you to promote and increase your blog traffic. Getting links from other sites or blogs can also increase your PageRank. Your PageRank, combined with other onsite ranking criteria will give your pages a better chance to be ranked high in Google search results.
WordPress comes with a built in links exchange tool that allows you to links to other sites. This tool should suffice for most people link exchange needs. However if you want more you’ll have to look somewhere else.
Here’s how it works: When someone fills out and submit the Add Link form, LinkMan verifies if a reciprocal link to Sabahan.com has been added before adding the link into Sabahan.com’s Partners page. Currently, I haven’t seen any WordPress plugin that is able to do this so LinkMan is a good alternative.
If you prefer, you can install LinkMan by itself without bothering with WordPress integration and just place a link pointing to your link page anywhere from your blog. All you have to do is edit LinkMan’s header.txt and footer.txt files to match your blog template design. But if you want a seamless integration, you’ll have to perform several extra steps. Since LinkMan is not a WordPress plugin itself, we’ll have to find a way to integrate and run it from a WordPress page.
Now, just install the PHPExec plugin as you nomally would with a plugin. Once activated, proceed with the LinkMan installation by following the instructions as outlined in the Readme.htm file that comes with the script. After installation, your LinkMan link page normally can be accessed via http://www.yourdomain.com/linkman/links.php.
But what you want to do now is to run links.php from a page in your blog. To do so, create a page and place the following code on the page editor.
<?php include("/path/to/my/links.php"); ?>
You can also wrap the code itself from links.php with the <phpcode> tags instead of linking directly to the links.php file. Either way, you’ll need to remove the following line from links.php since you won’t be using those files anymore to create your header and footer.
You may also want to edit other HTML element in your link page to match your blog template design as close as possible.
So there you have it, a functional, and easy to use link manager on your blog!
Thanks to LiewCF.com for the pointer.