The Web Developer’s SEO Cheat Sheet

Important SEO HTML tags Indexing Limits

*Does not apply to websites with significant authority Title Tag Keyword File Size No more than 150 kilobytes Amount of No more than 100 unique links per page links

Most Important

Bad Example: H1,H2,H3

Second Most Important

http://www.mysite.com/brands.php?

Third Most Important

Parameters in object=1&type=2&kind=3&node=5&arg=6 No more than 2 URL Keyword Good Example: Bold, Strong Keyword http://www.mysite.com/brands.php?nike

Image Bad Example: http://www.mysite.com/people/places/things/ noun/danny/car Hyperlink Keyword in Anchor Text Depth of URL No more than 4 *Best Practice Hyperlink Good Example: Keyword in Anchor Text (No Followed) http://www.mysite.com/people/danny

Recommended Title Tag Syntax 301 Redirect for Apache Website Title | Category > Subcategory - Item Write to file called ‘.htaccess’. The file is named only as an extension. Hidden files must be viewable in operating system. mod_rewrite must be enabled Command Description

Canonical Issues Redirect 301 /oldpage.html http://www.newdomain.com/ Redirect single file or directory to a new newpage.html file or directory on a different domain

Options +FollowSymLinks http://www.mysite.com RewriteEngine on Redirect http://mysite.com to http:// http://mysite.com RewriteCond %{HTTP_HOST} ^mysite.com [NC] www.mysite.com. Affects entire domain. http://www.mysite.com/index.html RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] http://mysite.com/index.html Entire site: Redirect entire domain to a new domain Redirect 301 / http://www.newdomain.com/ as either a 301 (recommended) or 302 Redirect permanent /old http://www.newdomain.com/new The Web Developer’s SEO Cheat Sheet

Important Search Engine Robots Robots Meta Tag

Last updated April 29th 2008. Check http://www.user-agents.org for updates Google Search /2.1 ( http://www.google.com/bot.html) ROBOT NAME can be either “robots” for all robots Google Search Googlebot/2.1 ( http://www.googlebot.com/bot.html) or the user-agent of a specific robot. Google Image Search Googlebot-Image/1.0 See robot user-agent list to left. Google Image Search Googlebot-Image/1.0 ( http://www.googlebot.com/bot.html) Arguments Google, Yahoo, Live, noindex Page Not Indexed MSN Search msnbot/x.xx ( http://search.msn.com/msnbot.htm) Ask MSN Search MSNBOT/0.xx (http://search.msn.com/msnbot.htm) Google, Yahoo, Live, All Links on Page nofollow MSN Media Search Robot msnbot-media/1.0 (+http://search.msn.com/msnbot.htm) Ask Become No Followed Google, Yahoo, Live, Windows Live Product Search msnbot-Products/1.0 (+http://search.msn.com/msnbot.htm) noarchive Page Not Cached Ask Search for Mobiles MSNBOT_Mobile MSMOBOT Mozilla/2.0 (compatible; MSIE 4.02; Windows CE; Default) Stops Use of DMOZ noodp Google, Yahoo, Live to Generate Title Tags Alexa / The Internet Archive ia_archiver Alexa / The Internet Archive ia_archiver-web.archive.org Stops Use of Yahoo noydir Yahoo Directory to Generate Alexa / The Internet Archive ia_archiver/1.6 Title Tags

Yahoo Blog Search Yahoo-Blogs/v3.9 (compatible; Mozilla 4.0; MSIE 5.5; http://help.yahoo.com/help/us/ysearch/crawling/ Stops Google from crawling-02.html ) nosnippet Google Generating Description Yahoo Multimedia Search Yahoo-MMAudVid/1.0 (mms dash mmaudvidcrawler dash support at yahoo dash inc dot com) Based on On-page Text

Yahoo Product Search YahooSeeker/1.0 (compatible; Mozilla 4.0; MSIE 5.5; http://help.yahoo.com/help/us/shop/merchant/)

Yahoo Product Search YahooSeeker/1.0 (compatible; Mozilla 4.0; MSIE 5.5; http://search.yahoo.com/yahooseeker.html) Sitemap Syntax

Yahoo Product Search YahooSeeker/1.1 (compatible; Mozilla 4.0; MSIE 5.5; http://help.yahoo.com/help/us/shop/merchant/) http://www.mysite.com/ Ask/Teoma Search Mozilla/2.0 (compatible; Ask Jeeves) 2008-01-01 Ask/Teoma Search Mozilla/2.0 (compatible; Ask Jeeves/Teoma) weekly 0.5 Ask/Teoma Search Mozilla/2.0 (compatible; Ask Jeeves/Teoma; http://about.ask.com/en/docs/about/webmasters.shtml) Common Robot Traps Robots.txt Syntax Default Locations Search Engines Look for Sitemaps Input Forms User-agent: * http://www.mysite.com/sitemap.xml Session IDs in URL Disallow: /privatefolder http://www.mysite.com/sitemap.xml.gz Pages Restricted by Cookies Disallow: /privatefile.html http://www.mysite.com/sitemap.gz Frames User-agent: Googlebot/2.1 Logins Disallow: /nogoogle.html Visit http://ww.w.xml-sitemaps.com for a free sitemap