SEO_Web_Developer_Cheat_Sheet by shahbazawa


									                                                               The Web Developer’s SEO Cheat Sheet
                                                                                                                                                                                        Revision 09

                                     Important SEO HTML tags                                                                      Search Engine Indexing Limits
                                                                                                                            *Does not apply to websites with significant authority

                 <head>                                                                                Page File Size No more than 150 kilobytes (Before Images, CSS and other Attachments)
   Title Tag         <title>Keyword</title>
                                                                                                         Amount of     No more than 100 unique links per page
                                                                                                          Title Tag    No more than 70 characters
                 <h1>Most Important</h1>
  H1,H2,H3       <h2>Second Most Important</h2>                                                           Meta         No more than 155 characters
                 <h3>Third Most Important</h3>                                                          Description
                                                                                                                                            Bad Example:
 Bold, Strong <b>Keyword</b>                                                                           Parameters in                        object=1&type=2&kind=3&node=5&arg=6
                                                                                                                     No more than 2
(Same Worth) <strong>Keyword</strong>                                                                      URL
                                                                                                                                            Good Example:
                 <img src=”keyword.jpg” alt=”keyword” />
  (XHTML)                                                                                                                                   Bad Example:
                 <a href=”” title=”keyword”>Keyword                                                       noun/danny/car
                 in Anchor Text</a>                                                                    Depth of URL No more than 4
                                                                                                                                                                   *Best Practice
  Hyperlink   <a href=”” title=”keyword”                                                                  Good Example:
(No Followed) rel=”nofollow”>Keyword in Anchor Text</a>                                                                           

                  Recommended Title Tag Syntax                                                                        301 Redirect for Apache

                Keyword < Category | Website Title                                               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
               Common Canonical Homepage Issue
                                            Redirect 301 /oldpage.html                        Redirect single file or directory to a new
                                                newpage.html                                                                file or directory on a different domain
                                                                           RewriteEngine on
                                                                                                                                                       Redirect to http://
   Good                                      RewriteCond %{HTTP_HOST} ^mysite\.com [NC]
                                                                                                                                              Affects entire domain.
                                                                           RewriteRule (.*)$1 [L,R=301]
To condense the four default homepages into one homepage, use
301 redirects (See table on right) to correct for erroneous incoming       Entire site:
                                                                                                                                                       Redirect entire domain to a new domain
links and make all internal links point to your domain using the           Redirect 301 /
                                                                                                                                                       as either a 301 (recommended) or 302
syntax ‘’. Always include trailing “/” on folders.   Redirect permanent /old
                                                                  The Web Developer’s SEO Cheat Sheet

                                                 Important Search Engine Robots                                                                               Robots Meta Tag
                                Last updated April 29th 2008. Check for updates
                                                                                                                                       <meta name=”ROBOT NAME” content=”ARGUMENTS” />
Google Search                  Googlebot/2.1 (
                                                                                                                                          ROBOT NAME can be either “robots” for all robots
Google Search                  Googlebot/2.1 (                                                              or the user-agent of a specific robot.
Google Image Search            Googlebot-Image/1.0                                                                                             See robot user-agent list to the left.

Google Image Search            Googlebot-Image/1.0 (                                                                          Arguments
                                                                                                                                                      Google, Yahoo, Live,
MSN Search                     msnbot/x.xx (                                                          noindex                                   Page Not Indexed
MSN Search                     MSNBOT/0.xx (                                                                         Google, Yahoo, Live,        All Links on Page
MSN Media Search Robot         msnbot-media/1.0 (+                                                                          Ask                Become No Followed
                                                                                                                                                      Google, Yahoo, Live,
Windows Live Product Search    msnbot-Products/1.0 (+                                                 noarchive                                  Page Not Cached
Microsoft Search for Mobiles   MSNBOT_Mobile MSMOBOT Mozilla/2.0 (compatible; MSIE 4.02; Windows CE; Default)
                                                                                                                                                                               Stops Description and Title
                                                                                                                                        noodp         Google,Yahoo, Live        Tag Overwrite by DMOZ
Alexa / The Internet Archive   ia_archiver                                                                                                                                         (Only for Homepage)

Alexa / The Internet Archive                                                                                                                      Stops Description and
                                                                                                                                         noydir              Yahoo              Title Tag Overwrite by
Alexa / The Internet Archive   ia_archiver/1.6
                                                                                                                                                                                   Yahoo Directory

Yahoo Blog Search              Yahoo-Blogs/v3.9 (compatible; Mozilla 4.0; MSIE 5.5;                                              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;

Yahoo Product Search           YahooSeeker/1.0 (compatible; Mozilla 4.0; MSIE 5.5;                                  Sitemap Syntax
Yahoo Product Search           YahooSeeker/1.1 (compatible; Mozilla 4.0; MSIE 5.5;       <?xml version=”1.0” encoding=’UTF-8’?>
                                                                                                                                       <urlset xmlns=’’>
Ask/Teoma Search               Mozilla/2.0 (compatible; Ask Jeeves)                                                                      <loc></loc>
Ask/Teoma Search               Mozilla/2.0 (compatible; Ask Jeeves/Teoma)                                                                <changefreq>monthly</changefreq>
Ask/Teoma Search               Mozilla/2.0 (compatible; Ask Jeeves/Teoma;

                Common Robot Traps                                                              Robots.txt Syntax                          Default Locations Search Engines Look for Sitemaps
                                                                                          User-agent: *
          Input Forms                                                                                                                    
                                                                                          Disallow: /privatefolder/
          Session IDs in URL                                                              Disallow: /privatefile.html                    
          Pages Restricted by Cookies                                                                                                     
          Frames                                                                          User-agent: Googlebot/2.1
                                                                                          Disallow: /nogoogle.html                           Visit for a free sitemap
          Logins                                                                          Sitemap:

To top