How to Write Search Engine Friendly Code

Jun 9, 2008 - 8:13 am 3 by

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.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Video Recaps

Search News Buzz Video Recap: Google Core Update Flux, AdSense Ad Intent, California Link Tax & More

Apr 19, 2024 - 8:01 am
Google Ads

Google Tests More Google Ad Card Formats

Apr 19, 2024 - 7:51 am
Google Search Engine Optimization

Google: It's Unlikely Your Rankings Dropped Because You Have Two Websites

Apr 19, 2024 - 7:41 am
Google Search Engine Optimization

Google: Indexing API May Work For Unsupported Content But...

Apr 19, 2024 - 7:31 am
Google Search Engine Optimization

Google: Are Hyphenated Domains Bad For Google Rankings?

Apr 19, 2024 - 7:21 am
Bing Search

Bingbot To Test Zstd Compression After Fully Gaining Full Brotli Compression

Apr 19, 2024 - 7:11 am
Previous Story: Google Releases AdWords API Starter Kit