Giving something back - free, relevant, one-way backlinks

bowcot84

Junior Member
Joined
Jan 2, 2010
Messages
117
Reaction score
18
This is bit of a long post, but if you're looking to get RELEVANT **************** backlinks from a range of sites, it's probably worth reading.

The background: I have a number of affiliates sites each with loads of pages. I wanted a way of automatically linking related products, e.g. to link page A on site A, selling a book on yoga links to page B on site B selling yoga mats. Thus link juice for page B, relevancy ticks for page A. So I wrote some code which stores all my pages, parses out the keywords and provides one-way links. Page B won't link back to A. Essentially it generates a massive, linkwheel, which is better than random, because it's completely relevance based.

Still here? Good. You might like this bit.

Because I've learnt so much from BHW, I thought I'd mod the code slightly so it can work for any site and offer it up, so that BH's can get some links.

Also, I want to get some feedback to see whether it's worth me offering this up as a paid-for service in the future.

Ok, so this is how it works. You simply include a code snippet on your page(s). When those pages are visited, your page gets added to the database and simultaneously checks the database for relevant links to display on your site.

Other sites with the code on, will follow the same process, and link to you. Dada. It's fire and forget. Put it in your footer template, for example, and every single page on your site could get links.

It's rudimentary at the moment e.g. just links to your page with your title tag, doesn't consider PR and so on. But hey, it's not costing you a dime.

Oh, and it only works if you site runs PHP, if you know a different language and want to translate for the benefit of other, fine by me.

The code you need to include is

Code:
include ("http://www.lenduz.com/links/index.php?domain=".$_SERVER['HTTP_HOST']."&page=".$_SERVER['REQUEST_URI']);

That sends the address of the page to the server, which will return a relevant link. Style it as you see fit (this is about link juice, not visitors, so don't make it too prominent :-). The class is lenduzlink. What will show up on your page (after your page has been crawled, so not straight away), is a link to a relevant site. Simple.

Obviously the more sites listed in the database, the better the relevancy will be.

Hope that's straightforward. Basically, you need to give a link, to get a link, but it's all automated.

Can you keep any queries to the thread, can't spend the time dealing with PMs.

Enjoy!
 
Hi Bowcot,

Could you explain your code a bit more for us who are unfamiliar with the internal workings of php.

Ok, so this is how it works. You simply include a code snippet on your page(s). When those pages are visited, your page gets added to the database and simultaneously checks the database for relevant links to display on your site.

Does anything need to be changed to have it work on a specific website?

Where will the relevant links be displayed on my site?

Does the code have to be placed on a links page?
 
Put the code where you want the links to appear. When your page displays, instead of the PHP code, you will have up to three links. They have the class lenduzlinks, so you can style them e.g.


.lenduzlinks {
color:white;

}

So I would suggest putting it in the footer, sidebar etc.
 
Back
Top