Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
The Web Developer’s

SEO Cheat Sheet
Important HTML Elements

HTTP Status Codes

Title tag

Best Practices

200	 OK/Succes...
Robot Control Syntax
User-agent: googlebot
Disallow: /no-google.html
Important Metadata

Google Authorship & Publisher

Facebook Open Graph

Google+ Authorship



<meta property="o...
Targeting Multiple Languages

Mobile Web Development

Declare language attribute in the HTML element


<html lang="fr">
Upcoming SlideShare
Loading in …5

Web Developer's SEO Cheat Sheet 2013-


Published on

Describes some important factors which are in mind while developing the site. 2013's cheat sheet is special for Mobile web development. Google Authorship & Publisher, Important Meta tags, Canonicalisation, Pagination, User Agents, Sitemaps, Bots and targeting site in Multi languages.

Published in: Design
  • Be the first to comment

Web Developer's SEO Cheat Sheet 2013-

  1. 1. The Web Developer’s SEO Cheat Sheet Important HTML Elements HTTP Status Codes Title tag Best Practices 200 OK/Success <head> <title>Page Title</title> </head> No longer than 60-80 characters Important keywords near the beginning Each title should be unique 302 Temporary Redirect Meta Description Tag 301 Permanent Redirect 404 Not Found 410 Gone (permanently removed) <head> <meta name="description" content="This is an example."> </head> No longer than 155 characters Each description should be unique Well written descriptions influence click-through rate Image 500 Server Error Webmaster Tools Google Webmaster Tools Bing Webmaster Tools 503 Unavailable (retry later) Yandex Webmaster Tools More information at <img src="img/keyword.jpg" alt="keyword" width="100" height="100"> Canonicalization Hyperlinks Text Link Hyperlinking Best Practices Common Duplicate Homepage URLs Canonicalized URL Best Practices <a href=" webpage.html">Keyword in Anchor Text</a> Limit links per page to roughly 150 Use "nofollow" for paid links and untrusted content rel="canonical" For image links, the alt attribute serves as anchor text <link href="" rel="canonical" /> NoFollowed Link <a href=" webpage.html" rel="nofollow"> Keyword in Anchor Text</a> Image Link <a href=""><img src="img/ keyword.jpg" alt="keyword" width="100" height="100"></a> URL Best Practices Common URL Elements 1 2 3 4 5 6 7 8 1. Protocol 2. Subdomain 3. Root Domain 4. Top-Level Domain 5. Subfolder/Path 6. Page 7. Parameter 8. Named Anchor More information at SEO Tips for URLs • Use descriptive keywords in URLs • Watch for duplicate content when using multiple parameters • When possible, place content on the same subdomain to preserve domain authority Recommended: Less Ideal: V2.1 | | © 2013 SEOmoz
  2. 2. Robot Control Syntax Robots.txt Location: User-agent: googlebot Disallow: /no-google.html Sitemap: More information at X-Robots Location: Sent in the HTTP headers X-Robots-Tag: noindex More information at Meta Robots Location: In the html <head> <meta name="ROBOT NAME" content="ARGUMENTS" /> More information at Important User-agents Robots Best Practices While robots.txt may restrict crawling, only Meta Robots and X-Robots will remove URLs from search results. Arguments can be: Nofollow (do not follow links) Noindex (do not index) Noarchive (do not archive) NoODP (Do not show Open Directory Project description) ...Or combined (noindex, nofollow) For robots.txt, robots meta tags & X-Robots-Tag User-agent in HTTP(S) requests Googlebot (can be used as default for most Google crawlers) Mozilla/5.0 (compatible; Googlebot/2.1; + Googlebot-News Googlebot-News Googlebot-Image Googlebot-Image/1.0 Googlebot-Mobile [various mobile device types] (compatible; Googlebot-Mobile/2.1; +http://www. Googlebot-Mobile (Mobile Smartphones) Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Googlebot-Mobile/2.1; + com/bot.html) Mediapartners-Google (Mobile Adsense) or Mediapartners [various mobile device types] (compatible; Mediapartners-Google/2.1; +http://www. If the robots <META> tag is not defined, the default is "INDEX,FOLLOW" Sitemap Syntax XML Sitemaps Default Locations <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns=""> <url> <loc></loc> <lastmod>1970-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset> Mediapartners (Adsense) Mediapartners-Google Bingbot Mozilla/5.0 (compatible; bingbot/2.0; + Baiduspider Mozilla/5.0 (compatible; Baiduspider/2.0; +/web/20130307230956/http://www. Yandexbot Mozilla/5.0 (compatible; YandexBot/3.0; + FacebookExternalHit facebookexternalhit/1.1 (+http://www. Rogerbot Mozilla/5.0 (compatible; rogerBot/1.0; UrlCrawler; rogerbot-crawler) Sitemap Index File <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns=""> <sitemap> <loc></loc> <lastmod>2004-10-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc></loc> <lastmod>2005-01-01</lastmod> </sitemap> </sitemapindex> The Web Developer’s SEO Cheat Sheet Other Common Sitemap Types: Mobile News Image Video V2.1 | | © 2013 SEOmoz 2
  3. 3. Important Metadata Google Authorship & Publisher Facebook Open Graph Google+ Authorship <head> For <meta property="og:title" content="Title Goes Here"> <meta property="og:description" content="description-goes-here"> <meta property="og:type" content="your-content-type-goes-here"> (e.g., "article") <meta property="fb:admins" content="your-Facebook-page-user-ID"> </head> More information at Twitter Cards 2 businesses, brands, products and organizations: Link your content to your Google+ profile Link your homepage to your Google+ profile <a href="[profile_ url]?rel=publisher">Google</a> Link back to your site from the ‘Contributor’ section of your Google+ profile Link to your website from your Google+ page's profile More information at <meta property="og:image" content=""> author information in Google search results: <a href="[profile_ url]?rel=author">Google</a> 1 <meta property="og:url" content=""> <meta property="og:site_name" content="your-site-name"> Google+ Publisher More information at <head> <meta name="twitter:card" content="summary"> <meta name="twitter:url" content=""> <meta name="twitter:title" content="Title Goes Here"> <meta name="twitter:description" content="Your description goes here."> <meta name="twitter:image" content=""> </head> Pagination Use rel="next" and rel="prev" in the <head> section to indicate the relationship between paginated URLs First Page - More information at <link rel="next" href=""> Google+ Google+ will extract information from Open Graph properties, title and meta description tags, or microdata (recommended). <html itemscope itemtype=""> <head> <meta itemprop="name" content="Title Goes Here"> <meta itemprop="description" content="Description Goes Here"> <meta itemprop="image" content=""> Second Page - <link rel="prev" href=""> <link rel="next" href=""> Final Page - <link rel="prev" href=""> </head> More information at The Web Developer’s SEO Cheat Sheet More information at V2.1 | | © 2013 SEOmoz 3
  4. 4. Targeting Multiple Languages Mobile Web Development Declare language attribute in the HTML element 1 <html lang="fr"> URL Structures for Country & Language Targeting ccTLDs (Country Level Only) Subdomains with gTLDS Responsive Design Uses CSS to alter the rendering of the page on the device using media queries Example: /* Phones */ @media (max-width: 767px) { ... } /* Tablets to Desktops */ @media (min-width: 768px) and (max-width: 992px) { ... } Subdirectories with gTLDS rel="alternate" hreflang="x" /* Large devices */ @media (min-width: 1200px) { ... } Annotate alternate language & country versions of content HTML version in <head> <link rel="alternate" hreflang="x-default" href="" /> (Specifies Default) 2 <link rel="alternate" hreflang="de" href="" /> (Specifies Language) Serves different HTML and CSS on the same URL, varied by user agent <link rel="alternate" hreflang="de-ES" href="" /> (Specifies Language + Region) HTTP/1.1 200 OK Sitemap version Content-Type: text/html <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="" xmlns:xhtml=""> <url> <loc></loc> <xhtml:link rel="alternate" hreflang="de" href="" /> <xhtml:link Dynamic Serving via Vary HTTP Header rel="alternate" hreflang="en" href="" /> </url> <url> <loc></loc> Vary: User-Agent Content-Length: 5710 ( of HTTP response headers...) 3 Separate URLs Identify mobile and desktop versions using rel="alternate" and rel="canonical" <xhtml:link rel="alternate" hreflang="en" href="" /> <xhtml:link rel="alternate" hreflang="de" href="" /> </url> </urlset> Desktop page: Popular Languages Popular Regions zh es en ar hi CN US IN JP BR Chinese Spanish English Arabic Hindi China United States India Japan Brazil <link rel="alternate" media="only screen and (max- More language codes can be found at width: 640px)" More region codes can be found at Mobile page: <link rel="canonical" href=""/> The Web Developer’s SEO Cheat Sheet href=""/> V2.1 | | © 2013 SEOmoz 4