Increase Your Rankings Using Internal Linking

Many people do not appreciated the true power of internal linking.  If the internal link structure of your website is setup in the correct way it can seriously help your search engine rankings.

I’m going to show you a little tip which I put into place a few weeks ago and have been testing out.  The results are positive and have resulted in a boost for my top three keywords.  This tip is really for dynamic websites which have a decent number of pages, ideally 100 – 200 pages minimum.

Basically, every page of your dynamic website will link back to the index page.  This is usually done using the anchor text ‘HOME’ which is located in a navigational area within your template.  Although 99.9% of webmasters use the word ‘HOME’ it is essentially leaking power from your website.

The idea is to include your main keywords within this anchor text.  Not in the sense you might think though.  Link density can play a role with your rankings, and if you simply replace the word ‘HOME’ with your main keyword or phrase, although you may see a small boost, the result will be minimal.  This is because your link density throughout your site might be top heavy and may look as though your are trying to manipulate the search engines.

This whole scenario gave me an idea.  What if I implemented some code into my template that randomly alternated between three of my main keywords. I chose one of my sites as a test.  This particular dynamic website currently has about 250 pages indexed in Google so it was an ideal candidate.  I simply wrote a bit of code and pasted it into my website template.  This code basically displayed one of the three anchor texts as my home link when the page was accessed or refreshed. Please note though that I included the word ‘HOME’ at the end of each anchor phrase.

Within two weeks my rankings for ALL three phrases jumped up significantly within Google.  One of these phrases was not even in the top 300 and within two weeks jumped straight upto no. 65.  Now that to me is quite a jump!

Basically, what this technique does is split the keyword density roughly by three.  The result has given me a natural boost within the SERPS for ALL three of my top keyword phrases.

I have included the code below so that you are free to use it within your pages.  The pages need to be php extension but if your site is dynamic anyway, chances are it will be a php site.  Here is the code.

Place the following code towards the top of your template page or just inside your main content area. Make sure you replace the ‘KEYWORD PHRASE 1’ etc with your own keyword phrases.

 <?php
$anchornum = rand(1, 3);
if ($anchornum == 1) {$anchor = “KEYWORD PHRASE 1 HOME”;} elseif
($anchornum == 2) {$anchor = “KEYWORD PHRASE 2 HOME”;} else {
$anchor = “KEYWORD PHRASE 3 HOME”; }
?>

Then place this code within your navigation area in place of the word ‘HOME’.

<?php echo $anchor; ?>

This will basically randomly display one of your three keyword phrases every time any page is accessed by either a user or a search engine like Google.

Feel free to leave a comment.

To your success!

Andy Black

7 comments

  1. Dave says:

    Thanks Andy,

    Great tip!

    Dave Woolsey

  2. Andy, thanks for posting this! I’m going to try it. I’m assuming the “home” is for wordpress sites as well. If you could make a video that shows exactly where to place this code in the php files, that would be awesome.

  3. Ray says:

    Thanks for the tip, Andy. Will the code work for a sub-domain on a wordpress blog or will it have to be modified?

  4. Spencer Chun says:

    Hey Andy,

    Thanks for the SEO tip, I’m going to try it.

    Regards,

    Spencer

  5. Jarom Adair says:

    Very nice Andy! That’s a handy bit of code to have. I’ll have to pass this on to others!

  6. budiclan says:

    can you provide me some picture for this guide? (step by step)

    Thanks

  7. olu says:

    Thanks very much Andy! I would appreciate if you could send the screen shot of this process.