• Home
  • Blog
  • Contact Us
  • Home
  • Blog
  • Contact Us

How To Implement First Link Priority

Last Updated: 29 September 2016 By Mike Haydon

My friend Jeff from Pet Formula asked how to implement First Link Priority. I figured my answer might be useful to other people, so here goes…

What Is First Link Priority

When there are two or more links on a page to another specific page, only the anchor text of the first link in the html of the page will count.

Let me say it another way: If Page A has two or more links to Page B, only the first of those links will pass anchor text.

This becomes problematic when the first link is an image link, because there is no anchor text to pass the information along.

It’s usually not a big deal, except on your website for the links to your home page. It’s a standard best practice to link your header logo to the home page. You probably also have a text link somewhere in the navigation that says “Home”, or if you’ve done some onsite SEO, it might include your main keyword.

The problem is that you have a whole lot of links to your home page that count as links, but you miss a major opportunity to tell the search engines what the page is about.

To use this site as an example, if I didn’t fix it, all the pages on this site would point to my home page and say it is about blank. About nothing. After the fix, all the pages on this site now point to my home page and tell Google that the home page is about “SEO Perth”. I now have hundreds of pages saying the home page is about SEO in Perth, which makes a huge difference.

As far as I’m aware, only Google has implemented First Link Priority. It doesn’t make a whole lot of sense, but they are the rules of the game by which we play :)

Note: it only matters when Page A links twice or more to Page B. If you have 100 links to 100 different pages, then you don’t have to worry about First Link Priority

Solution

Thankfully, the solution is pretty simple:

  1. Change the link to http://yourdomain.com/index/
  2. Open your .htaccess file and add this line:
    Redirect 301 /index/ http://yourdomain.com/
  3. Open your robots.txt file and add this line:
    Disallow: /index/
    under:
    User-agent: *

That’s all there is to it.

What Just Happened?

Your logo now links to http://yourdomain.com/index/ which redirects to http://yourdomain.com/ (your home page). This is currently enough to take care of First Link Priority, but just as an added level of safety, in case Google changes how it deals with First Link Priority, you block access to http://yourdomain.com/index/ from the spiders using your robots.txt file.

This will only benefit you if you have a text link to your home page elsewhere on your pages.

Remember: You only do this for the logo link or if you have more than one link and the first doesn’t contain the anchor text you want.

WordPress Fix

If you are using WordPress, don’t change the link in General Settings. Go to your theme and edit the logo link from there. It is likely in your header.php file (accessible from Appearance –> Editor).

If you use the Genesis Theme like I do on this site:

  1. Install Simple Hooks (if you haven’t already)
  2. Copy your header code into a text editor and change it to something like:

    <div id=”title-area”><p id=”title”><a href=”http://yourdomain.com/index/” title=”Blog Title”>Blog Title</a></p></div><!– end #title-area –>

  3. Paste the edited code into the genesis_header Hook
  4. Check the box next to Unhook genesis_do_header() function from this hook?
  5. Save your changes

Let me know if the instructions were easy enough to follow, or if you’d like me to explain anything further.

Filed Under: SEO
Originally Posted: 17 October 2011

Comments

  1. Robert says

    24 October 2011 at 11:00 am

    Does first link priority matter in a flash link?

    Reply
    • Mike Haydon says

      24 October 2011 at 4:12 pm

      Most likely not, because the search engines can’t see links in flash. It all depends how it’s programmed.

      Reply
  2. Lesley Dewar says

    11 March 2012 at 5:18 pm

    Is my home page OK?

    Reply
    • Mike Haydon says

      14 March 2012 at 3:57 pm

      Not for first link priority, but your site name is a brand, rather than a keyword, so it’s not so important for you. Plus you’re already #1 for “stories my nana tells” :)

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Web Design

marketing banner

Want to learn how to build your own websites? Check out the course we jointly developed here.

Recent Posts

  • What Is Search Engine Optimization?
  • PBNs Are Dead - Nope They've Just Changed
  • Panda Penalty Recovery Comes Back Stronger
  • Easy Internal Linking
  • Australian Fin Review Gaff And Domain Authority
  • Quality Work Is Worth The Price
  • How To Do Keyword Research

How Can We Help You?

  • Website Design Service
  • Google Penalty Recovery Service
  • Search Engine Optimization Service

Categories

  • Online Marketing
  • SEO
  • Social Media
  • Website Design
  • Wordpress

At A Glance

  • Ranking
  • Website Design
  • WordPress
  • Social Media
  • Contact
  • Google Penalties
  • Earnings Disclosure
  • Privacy Policy

Contact Us

Local SEO Perth

Contact Us Here

Copyright © 2023