How to Write Search Engine Friendly Code

Jun 9, 2008 • 8:13 am | comments (3) by twitter | Filed Under SEO - Search Engine Optimization

Jonathan Hochman wrote a very good checklist on Search Engine Land about 12 ways to write search engine friendly code. Some of the tips he outlines are:

  • Don't repeat yourself -- use SSIs and other code snippets instead of being redundant.
  • Place JavaScript in external files and reuse as needed.
  • Run your code through a validator to ensure that things are being kept clean.
  • Keep your site's meta description brief (1-2 sentences)

...and so on. His points are very true for any website designer and Sphinn members are quick to agree. One issue of contention, though, is how to outline the title tags of pages. Jonathan recommends "company name - page name" but another person points out that it may be better to write "page name - subcategory name - category name - company name." It all depends on what you want to accomplish, though.

Jill Whalen mentions in the discussion that it won't help rankings. That, too, may be true, but we all know to design websites for people and not for search engines anyway. :) A happily-coded website is one that gets more links which in turn translates into better rankings.

A very long and useful ongoing discussion continues at Sphinn.

Previous story: Google Releases AdWords API Starter Kit


No Name

06/09/2008 02:17 pm

"page name - subcategory name - category name - company name." structure is much better from organic search CTR. Especially for long tails.

No Name

06/11/2008 01:15 am

I don't think there is any significant advantage of using the company name in Title tag. There are advantages but in my experience title tags is too useful a tool to be wasted in anything except the main keywords that you are targeting for your website.

Eddie O'Mahony

06/11/2008 09:51 am

I notice that page rankings on Google differ on my PC and my Mac.How do I ensure that the rankings are similar?

blog comments powered by Disqus