The blog of Jafar Aliyev

Archive

Home :: Programming :: Solutions :: SEO Tools


Creation date:

Backlinks checker

Why to use this SEO tool?

Backlinks checker is a free tool to check validity of backlinks to your site or pages in your site. Checking validity is especially important for webmaster if the one pays for these links or got them in condition of exchange. There is not a problem to check and discover dead links manually by visiting backlinking pages of sites. But how to check hundreds of backlinks. Agree that it is physically impossible. Backlinks checker helps you to check and timely know the sites, where links to your pages were deleted. Backlinks checker checks only permalinks, ignoring JavaScript code.

Author: Jafar N.Aliyev (Jsoft)

History

Version 1.2 beta (10 November, 2016) - made some improvements to support https and suppress warnings.

Version 1.1 beta (21 March, 2011) - it worked only with my internal xml files. Now it's open to check any external backlinks.

Version 1.05 beta (17 March, 2011) - there was a bug with unquoted links (href without quotation marks). This bug is corrected.

Version 1.0 beta (13 March, 2011) - launched the initial version of project.

Instruction on Backlinks checker

Before starting to check, you have to write the list of backlinking sites as well as the list of your sites. Create an XML file, to hold these links, then copy it to any place in web. This can be the root or any folder in your site. But don't copy to folder where hotlinking is prohibited by .htaccess. XML must be well formed. The format of XML is shown below:

<?xml version="1.0"?>
<backlinks>
    <link>
        <ref>referringsite1</ref>
        <ref>referringsite2</ref>
        <ref>referringsite3</ref>
        . . .
        <target>yoursite1</target>
        <target>yoursite2</target>
        . . .
    </link>
    <link>
        . . .
    </link>
    . . .
</backlinks>

This is a common syntax of XML file.

referringsite - is the site/page where from link refers to yoursite.
yoursite - your site or page.

Before checking backlinks, the script checks whether XML is well formed. Then it checks every referringsite for existance and looks for every yoursite in contents of each referringsite listed in the same <link> block.

Let's explain it in examples:

Example 1

<?xml version="1.0"?>
<backlinks>
   <link>
        <ref>http://ref-site1.net</ref>
        <target>my-site1.org</target>
    </link>
    <link>
        <ref>ref-site2.net</ref>
        <target>my-site2.org</target>
    </link>
</backlinks>

In this example the script will check the existance of link to my-site1.org in ref-site1.com and existance of link to my-site2.org in ref-site2.com. Note, that http:// prefix in <ref> is optional. But never start <target> item with http://

Example 2

<?xml version="1.0"?>
<backlinks>
    <link>
        <ref>ref-site1.com</ref>
        <ref>http://ref-site2.net</ref>
        <target>my-site.org</target>
    </link>
</backlinks>

In this case the script will check the existance of link to my-site.org in both ref-site1.com and ref-site2.net sites.

Example 3

<?xml version="1.0"?>
<backlinks>
    <link>
        <ref>ref-site.com</ref>
        <target>my-site1.org</target>
        <target>my-site2.org</target>
    </link>
</backlinks>

In this example the script will check the existance of link to both my-site1.org and my-site2.org in ref-site.com.

Example 4

<?xml version="1.0"?>
<backlinks>
    <link>
        <ref>ref-site1.com</ref>
        <ref>ref-site2.com</ref>
        <target>my-site1.org</target>
        <target>my-site2.org</target>
    </link>
    <link>
        <ref>http://ref-site.net</ref>
        <target>my-site.org</target>
    </link>
</backlinks>

In this example the script will check the existance of link to both my-site1.org and my-site2.org from each of ref-site1.com and ref-site2.com.

But the site ref-site.com shall refer only to my-site.org. Every link is limited by scope of <link>

Usage of Backlinks checker

Fill in the location of XML and click to Check button.