How to Link to the Home Page
Inserting a Link to the Home Page from every post is a valid part of onsite SEO (Search Engine Optimisation) – it is an essential part of Keyword Coherence, the interlinking of your site Keyword with all the lesser LTK’s (Long tailed keywords) that are the basis of each post. You do it to give power (link juice) to your site keyword, thus boosting its position in the rankings. It makes it very plain to the search spiders that this is what your site is all about!
- Put It In The Footer?
It can be hard to remember to manually insert a home page link, and it is not always easy to find a ‘natural’ looking place to insert this into your post. So, what to do? Costa from BloGigs suggests; “The easy, quick and surest way to achieving this is to leave a homepage link in your blog’s footer using the anchor text you want.” Good theory, but I don’t like this idea very much – mainly because footer links don’t carry much weight.
- My Solution.
Here is another solution. Put a line of code on the single.php template, and, as Costa suggested, insert a homepage link using the appropriate anchor text; but put it in the body of the post, just before the “Comments”. Doing this embeds the link in the body of the post, immediately after the end of your writing, but before all the “fluff” that forms the bulk of most comments. The search spiders will apportion quite a lot of weight to the link in this position.
- How Do I do That?
Goto Dashboard/Appearance/Editor and open “single.php”. Search for this code :
and paste in this code after it:
<p style=”text-align:center;”><a href=”http://MySite.com/category/home-page-post/” title=”Secondary Keywords….”>Anchor Text includes Main Keyword………</a></p>
This code will insert your home page link after the credits, and directly before the comments. Of course you will need to edit the code to display your own web-site URL and keywords.
- Use POST.PHP (Works on Default Theme)
Use POST.PHP instead of doing this with PAGE.PHP and the links will appear on all the indexed single pages, but NOT on the home page where you are showing up to (say) 10 posts on the same page.
- For 2010 Theme Do This:
Open single.php, search for “<div class=”entry-utility”>“, and paste in the above code directly ABOVE it.. (Be sure that the quote marks are vertical, not slanted)
- Whoopee…. 300 Internal Links!
So there you are, the easy way to link to the home page from EVERY post. Suppose you have 300 posts indexed, now suddenly you will have 300 internal links pointing to your Home Page, and every one with the correct site keyword as the anchor text.