Programming SEO – Cross Linking

YB As I mentioned a couple of weeks ago, cross-linking your pages within your site is one of the best ways I know to increase traffic to your site.  In fact, the week I added a plug-in to this site that automatically cross-linked my related pages, I saw a steady increase in visitors.

And that’s just the issue.  How do we set things up so that our pages automatically get cross-linked?  Here are some of the issues we want to deal with:

  • Only pages that have some kind of relation to each other should link to each other
  • As new pages get added to the site the links should change to reflect that new, possibly more relevant content is available.

In other words, we want this to be automatic and we want it to change as the content changes.

The keywords we added to our page are going to help us with this problem.

If you have keywords assigned to every page in your system, this will be a lot easier than if you don’t, but even if you don’t this process isn’t impossible.

The first method of cross-linking is to find the pages on your site that have exactly the same keywords associated with them as you’ve assigned to the current page.  You only want 3–5 of these links on each page, so this may be all you have to do.

Here’s what I’d search for, in order.

  1. Other pages that have exactly the same number of keywords and all keywords are exactly the same.
  2. Other pages that have more keywords than the current page but the keywords on the current page are a subset of the keywords on the other page.
  3. Other pages that have the first N-1 keywords the same.
  4. Other pages that have the first N-2 keywords, and the last keyword the same.
  5. Other pages that have the first N–2 keywords the same.
  6. etc.

I’d set the logic up in an SQL stored procedure for the best performance and just return the top 3 to 5 results.

If you don’t have keywords set up on every page, you’ll need to take a different approach.  If you have full text indexing set up for each of your pages, or some other way of doing a search for content on your site, you are in luck.  All you need to do is search your content for the top 3 to 5 results that come back when you search for your list of keywords.  If you don’t have some way of searching your content, you should fix that now.  Not having the ability to search content makes your site that much harder for your visitors to use.

If you tell me that you don’t need search because you don’t have a lot of pages on your site, you have another problem.  You NEED a lot of pages (more than 100) on your site if you want any kind of traffic to your site at all.  You also need a lot of pages on your site if you want this cross-linking thing to work well for you.

 

Other post in Seach Engine Optimization

Related Post

  • Programming SEO – Cross Linking TitlesProgramming SEO – Cross Linking Titles Here is another interesting way to programmatically add link juice to web pages from within your own site.  It will require that you have pages created dynamically from a database and that y...
  • Programming SEO – Tags and KeywordsProgramming SEO – Tags and Keywords Last week I started a series on SEO from a programming perspective.  Today we want to look at one of the topics I discussed in that post in a little more detail.  Tags. Strictly speakin...
  • Programming SEO – PingProgramming SEO – Ping Now that we have an RSS feed we can use the feed to ping the various RSS directories that are available on the Internet.  This will create links back to your site including links back to yo...
  • Google NOFOLLOW Change (and why this isn’t news)Google NOFOLLOW Change (and why this isn’t news) Or, Chicken Little and rel=nofollow Google recently admitted they have changed the way they pass page rank to pages from a page that has the nofollow attribute attached to one or more of the li...
  • DotNetNuke Tweak FOR SEODotNetNuke Tweak FOR SEO DotNetNuke does a pretty decent job of being optimized for the search engines.  But, while tweaking one of my sites today, I realized there is one place where there is room for improvement. ...