Link Analysis Tool : The ultimate open source SEO tool

by Patrick Altoft on / 120 responses

Backlink analysis is a trick business and can be quite resource hungry. That’s why I’ve started developing an open source Link Analysis Tool.

The tool is currently in Beta and you can download it here. My idea is that by releasing this as an open source project other programmers and skilled people can help me improve the tool based on feature requests and bug reports from the community.

The script has an auto installer to set up the Mysql databases, you will need a Yahoo API – details are in the readme. Please leave feedback and feature requests in the comments below, if any PHP programmers want to contribute then drop me an email.

What it does

  • Uses Yahoo Site Explorer to find all pages on a site
  • Pulls in link data for every page on the site & orders results by pages with the most links
  • Allows you to drill down 2 levels deep into the link data for pages linking to the target site
  • Accepts Google sitemaps imports
  • Accepts single URL imports
  • Lets you check the rankings for any page on any search engine

Example: I enter my competitors url and the tool brings up a list of all their pages with the most linked pages at the top of the list. I can then drill down to find not only the exact sites linking to these pages but the sites that link to the linking pages as well. This allows me to very quickly evaluate the most valuable links to target for myself.

Screenshots

analysis1.gif

analysis2.gif

analysis3.gif

Licensing

You can distribute the script as you wish in any form (for example with your own branding), all I ask is that you leave the “About this tool” link on the right hand side of each page and the designers link at the bottom. Selling the script is not permitted.

Patrick Altoft is Director of Search at Branded3, a Leeds SEO & Digital Agency specialising in SEO, Web Design, Development & Social Media.

Get daily posts direct to your inbox

You can get our blog posts delivered for free by email every day - simply add your email address to the box above, or alternatively you can grab the RSS feed.

Comments

Read the 108 comments below, or add your own!

March 28, 2008 at 6:55am

Sweet! I can really use that. Not much more I can say.

Reply

September 17, 2011 at 7:36pm

Does this one still works? I can’t seem to install it anymore…

Reply

March 28, 2008 at 7:01am

The only thing it is missing in a log analyzer so it can daily parse the logs for all referring URLs and then check those pages for links back to the page showing the entry.

In this way it starts to auto discover the links since Yahoo only shows a small subset of links once you get to a certain number.

Reply

March 28, 2008 at 7:01am

Now that’s hot! I’m gonna download this and give it a whirl.

The feature I’m excited about is google sitemaps import. Daddy like!

Reply

March 28, 2008 at 7:23am

Why thats mighty noble of you patrick.
Will take a spin and see if any coding can be applied to improve.

Azzam

Reply

March 28, 2008 at 8:27am

Patrick – this is a seriously useful tool! Thanks for sharing.

Best wishes,

Howie

Reply

March 28, 2008 at 2:59pm

I really appreciate the great tool, I’ll try to contribute to it as much as possible.

Reply

March 28, 2008 at 5:48pm

Hi,

Thanks for this.
But I’m getting this error message.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /linkanalysis/index.php on line 45

What could I have done wrong?

Thanks for your help.

Reply

March 29, 2008 at 12:58am

Not sure, have you looked in phpmyadmin to see if the databases are set up?

Reply

March 28, 2008 at 9:14pm

Hi,

Seems like a really useful tool, but I get zero (0) links for any url on any website I test with. Even though there are some results when I try Yahoo’s site. (?)

Thanks for your help.

Reply

March 29, 2008 at 12:57am

Maybe your host isn’t allowing the connection to Yahoo?

Reply

March 28, 2008 at 9:52pm

Thanks for the great tool Patrick. Can’t wait to get it installed and analysing!

Reply

Gemme
March 28, 2008 at 10:12pm

Seems like a great tool, thanks a lot. Am playing with it now.

I don’t see yet the PR in my overview, am I missing something?

Reply

March 29, 2008 at 12:58am

Are you seeing PR0 or what? Can you post a screenshot?

Reply

martaay
March 29, 2008 at 12:39am

I also get this error message appearing in the error log after trying to add a site through addsite.php

Reply

G
March 29, 2008 at 3:08am

You can’t downplay the completely invaluable nature of this tool for evaluating your OWN website, to figure out how relevant your linking neighborhood is, etc.

I’m pretty stoked to get a real clear picture of where my site is at. (And maybe then I can get some insight on the kind of Twitter followers I’ve been attracting, too!)

Reply

March 29, 2008 at 3:28am

It’s up and running great. I have been looking for a way to see which pages of my sites are getting links. This really helps a lot.

Thanks for sharing this. Excellent link analysis tool!

Reply

March 29, 2008 at 3:42am

How will your software compare to SEO SpyGlass?

Reply

March 29, 2008 at 3:52am

I’m not sure, never used SpyGlass.

Reply

Del
March 29, 2008 at 4:08am

Looking good so far. I to am unable to see the PR column. It’s missing from the list of domains on the home page and also the link analysis of the website.

FYI On the first pass it didn’t capture the number of links correctly – in fact it returned everything as 0 – the same as Carl-Johan above. I refreshed one entry manually and it then displayed link numbers so I refreshed the entire domain and the correct link numbers were displayed. :)

Reply

March 29, 2008 at 4:58am

Maybe the path to your PageRank images is broken? Can you see in the source code of the page where they are loading from?

Reply

March 29, 2008 at 4:18am

Hi Patrick, thanks for this great tool. I came to your site from the SEO Book forums, great information there.

Reply

March 29, 2008 at 5:07am

Thanks very much for the tool! But the same information is already given in Google Webmaster Central or am I missing something?

What I would love to find is a tool that also shows the anchortexts of the inbounds. Not a simple list of all anchortexts, but a statistical overview of all anchors:
70% anchortext1
8% anchortext2
etc.

Is there something like that out there?

Thanks again,
Alain

Reply

March 29, 2008 at 7:15am

Google doesn’t let you see your competitors backlink information.

If you want anchor text try http://www.linkdiagnosis.com/

Reply

March 29, 2008 at 5:38am

I’m getting this message
Spider results
http://www.mydomain.com being spidered………
Cannot connect to Yahoo, you might have used more than 5000 queries today?

anything i should check…its a new api key

Reply

March 29, 2008 at 7:14am

Yahoo is quite unreliable, try again later. If that fails then send me an email and I will take a look.

Reply

March 29, 2008 at 7:49am

I’m having problems too. It says 0 links for all the sites I’ve added and also the PR column is missing. When I click the refresh link on the individual links within a site I get the following error:

Fatal error: Call to undefined function: file_get_contents() in /home/virtual/site25/fst/var/www/html/linkanalysis/update.php on line 21

Any clues??

Reply

Del
March 29, 2008 at 7:59am

I’ve checked the code and the PR column is not included in the table so it’s not even trying to pull the image. It’s on a shared host running a version of PHP just prior to 5 if that helps.

Reply

March 29, 2008 at 8:24am

I will try release a better version next week.

Reply

March 29, 2008 at 8:40am

Patrick, sorry. I have a problem with the tool. I must be doing something wrong. When I go to: http://www.mysite.com/linkanalysis/
I get an error message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘mydatabasename’@'localhost’ (using password: YES) in /home/user/public_html/linkanalysis/config.inc.php on line 5
Unable to connect to database

Can you please give me any lights on this, I will appreciate it.

Reply

March 29, 2008 at 9:46am

Sounds like you haven’t entered your username and password correctly in the config.inc.php file?

Reply

April 1, 2008 at 3:26pm

Thanks Patrick, I will check on that, keep up the good work!

Reply

March 29, 2008 at 9:41pm

Thanks, Patrick, for the head’s up. This will be a useful addition to the ‘bat belt’ of tools we use.

Take care,
Bill.

Reply

March 30, 2008 at 2:21pm

I keep getting this error message:

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Any Ideas

Reply

March 30, 2008 at 3:12pm

Looks like an awesome tool, thanks. Having some issues implementing though – getting a 503 error when trying to add a domain. Could this be a permission problem?

Reply

March 30, 2008 at 9:52pm

Awesome Patrick. Can’t wait to put it to use and see all the future enhancements.

Reply

March 31, 2008 at 10:46pm

hey Patrick, still getting the error, I have not idea if the email i sent you via your contact form when thru or not the page timed out. Thanks

Reply

April 1, 2008 at 9:38pm

Hi Patrick,

It really is a valuable tool, and I look forward to updates to it.

My domains loaded after I got a new API key from Yahoo – don’t know what was wrong the the first one I got. When I reloaded my domains I got the link count from Yahoo.

However, the PageRank is missing from my version as well, same as other people have mentioned above.

I look forward to any upgrades to your tool.

Reply

April 2, 2008 at 3:09pm

Yep, really good tool, I’m gonna install and will head back with comments after a decent trial.

Thanks,

Colin

Reply

April 2, 2008 at 8:22pm

Hi Patrick I have not been able to make it work. I have replaced username, password and database-name in the config.php file as you mentioned, but is not working still. Can you show me a sample of how it has to be done properly? Thanks in advance.

This is whow I replaced it on the file:

$mainconnection =MYSQL_CONNECT(“localhost”,”myuser”,”my password”) OR DIE(“Unable to connect to database”);

@mysql_select_db(“mydatabasename”) or die(“Unable to select the database”);

“and also:”

$yahoo_api_key=”myyahooapikey”;

I don’t know what’s wrong? I keep getting the same error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘mydatabasename’@’localhost’ (using password: YES) in /home/user/public_html/linkanalysis/config.inc.php on line 5
Unable to connect to database

Reply

April 3, 2008 at 2:11am

Hey Patrick,

Thanks for the tool. Unfortunately, there seems to be no readme file in your zip file and I am getting the following error when I try to add a site:

“Column count doesn’t match value count at row 1″

Any help would be greatly appreciated.

Thanks.

Reply

April 3, 2008 at 10:06pm

I have the same problem as above. With the last release you must forget to include readme file.

Thanks,

Reply

April 7, 2008 at 6:16am

Ditto the two above. I’m actually working on fixing this if I can. Hopefully you beat me to it…

Cheers

Reply

April 9, 2008 at 3:03pm

That sounds an awesome tool. Many thanks for sharing

Reply

Ash
April 14, 2008 at 11:27pm

Good Piece of work, Definitely going got use it

Reply

April 20, 2008 at 9:44am

I get to know about this tool from vandelaydesign and it’s seems to be a really handy tool to work on. downloading it. Thanks for making it free for distribution. i really appreciate it.

Reply

Vlad
May 9, 2008 at 3:15pm

Hi man
Really great tool, RESPECT.

had a little problem, it doesn’t show pr on pages and some pages wasn’t crawled by bot, why ?

i can show u what is this about if you are interested

thanks

Reply

Babieintown
May 13, 2008 at 1:07pm

Wait for your excellent tool, Love it. Need a new version
for now seem like a little bug to me, Every link show 0 link to each result. How can i do ?
Thanks

Reply

June 1, 2008 at 12:13am

@ yoichi

I had the same, login into phpmyadmin and check all rights. That was my bottleneck :)

BTW. I love the tool now, as it is up and running ;-)

Reply

TzuVelli
July 28, 2008 at 6:45pm

Hey Patrick,

Great tool! Unfortunately, I do not have a ReadMe file so I am not exactly sure how to install it. Sure would love to gt that ReadMe file or a pointer to installation directions.

Beau

Reply

August 6, 2008 at 10:35am

nice tool

Reply

David
August 11, 2008 at 11:32pm

I am having problems downloading and running it. Is their a phone number I could call? Or could I IM someone?

Reply

omar
August 16, 2008 at 11:41pm

Everything working well except the pagerank, not showing..any clues? great tool though, thanks Patrick!

Reply

October 4, 2008 at 10:57pm

Having a problem to run the program, I can download the file but there a problem installing the program. Can anybody help me.
Thnx.

Reply

November 2, 2008 at 3:06am

Still no readme file? Is this project dead? It looks really promising and I was hoping to add it as a backend tool to me site…

Reply

umx
November 16, 2008 at 2:18am

Holla, i’ve got Spider results
Incorrect integer value: ” for column ‘id’ at row 1 anyone can help with this?

Reply

November 21, 2008 at 8:21pm

thanks for this great tool… ;)

Reply

December 2, 2008 at 4:46am

woowwww…. That is a great tool. Thanks for sharing.

Reply

December 19, 2008 at 12:00pm

Great. Isn’t this handy. Link analysis through plugin. Thx for taking time to script it

Reply

December 24, 2008 at 4:57pm

Nice nice project just keep it and working on it ! :D

Reply

January 15, 2009 at 8:35pm

This tool seems really useful. Many of the features mentioned are highly sought out by webmasters and SEOs. Link data can be so important, many people aren’t even aware of how to use this type of data. We use a combination of in-house tools we developed, which are now offered on our company site for free. Thought maybe readers here may be interested in trying them out. We encourage feedback, so please let us know if you think improvements can be made.

http://www.visible.net/tools/analyzer/
http://www.visible.net/tools/statistics/

Reply

January 27, 2009 at 11:15pm

Great Tool

Reply

February 21, 2009 at 6:45pm

thanks ,this tools is working better than paid tools

Reply

February 22, 2009 at 9:30am

Nice tool, working well

Reply

February 28, 2009 at 8:25pm

Patrick,
Thanks for sharing, much appreciated!
It does not look like visible is going to offer their source code, none the less they seem have some helpful tools.
-Nick

Reply

March 1, 2009 at 4:11pm

How to using tools online can increase my pagerank

Reply

March 1, 2009 at 8:14pm

Thanks for this great piece of software. I have used it a couple of times and it has returned some interesting results encompassing Yahoo’s index. The bones of the software are here and following some further updates (which I understand you and others are working on) this is sure to be a leading backlinking analysis tool – keep up the great work please!

Reply

April 28, 2009 at 9:14pm

yeah thats a nice tool. i like it

Reply

May 5, 2009 at 1:25pm

Multimedia memory card files recovery software quickly restores favorite music mp3, audio, video clippings and other similar files from digital media storage drives.

Reply

June 15, 2009 at 6:45pm

This is a great tool. Trying to figure where your back links have come from is extremely difficult and a lengthy process. This application allows you to see the page rank, how many links are present and what search engines it is featured in. In terms of seo, this is very useful and allows you to keep control over your outgoing links and also see your competitors links. Great post!

Reply

June 25, 2009 at 10:39pm

Thanks for providing this great tool. We are in the middle of a major overhaul, and we would love to use this and link back to you for providing it. Thanks!

Reply

July 28, 2009 at 6:10pm

This sounds like a great tool to have for any website. I like that I can check the page rank of any page on any search engine.

Reply

Goran
August 30, 2009 at 5:28pm

I am downloading the software now, will let you know what I think.

I am hoping you could help me. I have spent the last few months looking for a really simple tool. I was hoping you would know of one that could help me.

I have a list of urls that we have added a link to, we have the anchor text, and we have the links that the anchor text is pointing to.

Every program that I have tried requires that we add a SINGLE DOMAIN and then it verifies that the link is pointing back.

I would like to upload a list of different domains that different links are pointing to.

Thus, I would add a csv containing the link where the url is, the anchor text and the url the link is pointing to and the software would verify that this is correct.

Thanks.

Reply

September 6, 2009 at 11:57am

interesting tool, gonna try this!

Reply

October 7, 2009 at 6:29am

Company offers keylogger utility to capture all typed email conversation, chat records and document lists

Reply

November 1, 2009 at 2:13pm

Great tool. I was looking for one like this, since I was not satisfied with all others. I will try to install it on my Joomla site. I hope that I will not have any problems.

Reply

December 3, 2009 at 4:16am

This is great can’t wait to test it out.

Reply

February 19, 2010 at 6:39pm

Thanks I’ve found this really useful in my seo analysis

Reply

March 24, 2010 at 1:17pm

Thanks a million for this tool, looks fantastic and I shall be installing it this afternoon.

Thanks again.

Reply

March 24, 2010 at 7:06pm

If anyone has tried either Market Samurai or Advanced Web Ranking I’d be very eager to know how you feel about their usefulness and value and also which you think is better.

Reply

MLB jersey
March 29, 2010 at 6:24am

Nice news,thanks you for this good sharing.

Reply

April 27, 2010 at 11:28am

Achetez en toute sécurité et au meilleur prix ! AtoutMarket, votre boutique spécialisée en matériel informatique, vous présente des produits pour améliorer les performances de votre PC.

Reply

May 3, 2010 at 11:46am

What will happen when Yahoo Site Explorer is closed by Microsoft Bing ?

Reply

May 10, 2010 at 4:39pm

nice tool .. anymore updates on the way ? Do you have a twitter account?

Reply

May 15, 2010 at 9:41pm

WOW, thank you for this,it will help for sure!

Reply

June 14, 2010 at 10:03am

thanks, this looks great tool

Reply

June 14, 2010 at 2:13pm

Thanks for the tip! Looks interesting.

Reply

August 17, 2010 at 9:55pm

Thanks for such a wonderful tool.. you are always rocking…

Reply

September 25, 2010 at 8:38am

very good tool,i want to use it in my site:

Reply

October 20, 2010 at 6:25pm

This is awesome!! I was looking for a tool like this forever, so thank you for creating this! Love how it is open source, because I already know a few people that could help out with this!

Reply

November 5, 2010 at 10:43pm

Thanks for the tool, it looks very interesting. I will probably have however to do some tweaking to make it compatible with my WordPress template, but that’s life…

I specially appreciate it that you’ve made it open source. If I add things, I will certainly forward them to you, so that others can enjoy them too.

Reply

November 10, 2010 at 5:09pm

Hi all,

I found this to be really useful and will likely be using it for my own SEO projects in the future.

Thanks again!

MM

Reply

November 11, 2010 at 2:30am

i hope it is easy to use.

Reply

January 18, 2011 at 11:59pm

According to this link, Site Explorer API shut down in Dec 2010…
http://developer.yahoo.com/search/siteexplorer/
Will this tool still work?

Reply

January 23, 2011 at 2:21pm

Seems likee a nice tool. We have something similair in our SEO Tool RankInspector.

Reply

February 5, 2011 at 9:15pm

Cool tool. Thanks for taking the time to build it.

Reply

March 10, 2011 at 7:39pm

Just downloaded, gonna give it a go :-) Any tool that uses Yahoo! link data and can manipulate it for researching is in my good books before I even try it! Thx.

Reply

March 17, 2011 at 12:42pm

Nice post and a cool tool to try.

Reply

May 2, 2011 at 12:24pm

This is a great tool. I also use this tool nowadays a lot. Gets me going :)

Thnx

Reply

June 9, 2011 at 4:54am

thanks heaps! worth your weight in gold… awesome asset in the world of seo!

Reply

September 5, 2011 at 12:07pm

Looks like a useful tool..

Reply

September 8, 2011 at 1:55pm

Absolutely loving this tool!
Just got this article sent to me from one of my mates who is using it and they are loving it!
Thanks for posting
Danny

Reply

Jay
September 29, 2011 at 6:43pm

It looks great, but it seems that it isn’t working with some people. Well, I’m gonna try it anyway, see if it works.

Reply

September 30, 2011 at 1:09pm

Great looking open source tool. I like market samurai and use SEO quake on the fly, that’s how I found this blog!

Reply

October 13, 2011 at 8:55pm

Great Spy tool, i have been using varius tools, of course the classical one is checking sitelinks from yahoo, but is a bit annoying when your on page have make sitewide links :)

Reply

October 19, 2011 at 7:12am

Definitely great stuff to keep in memory really fact things are written here thanks for sharing cheers!!! :O

Reply

December 8, 2011 at 2:33pm

Thanks for this handy tool! You can also use http://www.linkbuildingtool.nl

Reply

Billig Seo
December 28, 2011 at 4:07pm

Wow, in days yahoo site explorer is gone this will definitely help us a lot. Thank You for this wonderful tool. I will use it from now on as my primary spy processor. Really god software. Big thanks from billig seo – a seo company in Oslo.

Reply

12 trackbacks

Leave a comment

Your email address will not be published. Fields marked with an asterisk are required.
 

  *

  *

You can use one of the following tags:
<a href=""><blockquote><code><em><strike><strong>