Professional Documents
Culture Documents
Seo Cheat Sheet PDF
Seo Cheat Sheet PDF
Hyperlinks Canonicalization
Text Link Hyperlinking Best Practices Common Duplicate Homepage URLs Canonicalized URL Best Practices
<a href="https://www.example.com/ Preference: HTML links over
webpage.html">Keyword in Anchor https://www.example.com Preferred URL = https://example.com/
JavaScript
Text</a>
Use "nofollow" for paid links and un- https://example.com Place the following in <head> section to
NoFollowed Link trusted content indicate preferred URL:
<a href="https://www.example.com/ https://www.example.com/index.html
For image links, the alt attribute serves
webpage.html" rel="nofollow"> <link href="https://example.com/"
as anchor text
Keyword in Anchor Text</a> rel="canonical" />
https://example.com/index.html
Image Link
<a href="https://www.example.com/webpage.html"><img src="/img/ https://example.com/index.html&sessid=123 More information at http://mz.cm/canonical
keyword.jpg" alt="keyword" width="100" height="100"></a>
1 2 3 4 5 6 7 8
5. Subfolder/Path
When possible, place content on the same subdomain to preserve authority
6. Page
7. Parameter Recommended: https://example.com/blog
8. Named Anchor Less Ideal: https://blog.example.com
User-agent: googlebot Only Meta Robots and X-Robots Googlebot (can be used Mediapartners-Google
Disallow: /example.html remove URLs from search results as default for most (Mobile Adsense) or
Sitemap: https://example.com/sitemap.xml Don't block CSS or JavaScript files Google crawlers) Mediapartners
with robots.txt
More information at http://www.robotstxt.org/robotstxt.html
Googlebot-News Googlebot-Mobile
X-Robots Arguments can be:
Location: Sent in the HTTP headers Googlebot-Image Googlebot-Video
The Web Developers SEO Cheat Sheet V3.0 | moz.com | 2015 SEOmoz 2
Important Social Metadata Rich Snippets and Structured Data
Sample Meta Tag Template: "Article" Enhance search results and help machines to understand your content
Place this data between the <head> tags of your website Common Vocabularies Popular Formats
schema.org Microdata
<!-- Open Graph data --> datavocabulary.org RDFa
microformats.org JSON-LD
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article:
http://ogp.me/ns/article#">
Breadcrumbs | Widgets Large Widgets
<meta property="og:title" content="Your Title Here" />
<meta property="og:type" content="article" /> <ol itemscope itemtype="http://schema.org/BreadcrumbList">
<meta property="og:url" content="https://example.com/" /> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/widgets">
<meta property="og:image" content="https://example.com/image.jpg" /> <span itemprop="name">Widgets</span></a>
<meta property="og:description" content="Your Description Here" /> <meta itemprop="position" content="1" />
</li>
<meta property="og:site_name" content="Your Site Name, i.e. Moz" /> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<meta property="fb:app_id" content="Your FB_APP_ID" /> <a itemprop="item" href="https://example.com/widgets/large">
<span itemprop="name">Large Widgets</span></a>
<meta itemprop="position" content="2" />
<!-- Twitter Card data --> </li>
</ol>
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="Your @publisher_handle">
<meta name="twitter:title" content="Your Page Title"> Reviews | Rating: 5.0 - Review by Roger Mozbot
<meta name="twitter:description" content="Your Page description
less than 200 characters"> <div itemscope itemtype="http://schema.org/Review">
<meta name="twitter:creator" content="Your @author_handle"> <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Book">
<span itemprop="name">The Art of SEO</span> </div>
<!-- Twitter Summary card images must be at least 120x120px --> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta name="twitter:image" content="https://example.com/image.jpg"> <span itemprop="ratingValue">5</span>
</span> stars -
<b>"<span itemprop="name">A good read.</span>" </b>
<span itemprop="author">Roger Mozbot</span>
Social Metadata Best Practices <span itemprop="reviewBody">The Art of SEO is a good book.</span>
</div>
Default to Open Graph Optimal Image Sizing
Platforms that support Open Choose large images over small Common Structured Data Uses
Graph protocol include: Twitter:
Events Recipes
Facebook Minimum 120 x 120px
Twitter No larger than 1MB Business Information Media Content
Google+ Facebook:
People Contact Data
LinkedIn Minimum 200 x 200px
Pinterest Over 1200 x 630px recommended Mobile Apps Email Markup
The Web Developers SEO Cheat Sheet V3.0 | moz.com | 2015 SEOmoz 3
Targeting Multiple Languages Mobile Web Development
Declare language attribute in the HTML element 1 Responsive Design
<html lang="de"> Place the meta viewport tag in the <head> of the document
<meta name="viewport" content="width=device-width,
URL Structures for Country & Language Targeting initial-scale=1">
HTML version in <head> (each version must identify all versions, including itself)
<link rel="alternate" hreflang="x-default" href="http://example.com/" /> (Specifies Default)
2 Dynamic Serving via Vary HTTP Header
HTTP/1.1 200 OK
Sitemap version
Content-Type: text/html
<?xml version="1.0" encoding="UTF-8"?>
Vary: User-Agent
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
Content-Length: 3495
<url>
<loc>http://example.com/english/</loc> (...rest of HTTP response headers...)
<xhtml:link rel="alternate" hreflang="de" href="http://example.com/deutsch/" />
<xhtml:link rel="alternate" hreflang="en" href="http://example.com/english/" />
3
</url>
<url>
Separate URLs
<loc>http://example.com/deutsch/</loc>
<xhtml:link rel="alternate" hreflang="en" href="http://example.com/english/" /> Identify mobile and desktop versions using
<xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/" /> rel="alternate" and rel="canonical"
</url>
</urlset>
Desktop page: http://example.com/
<link rel="alternate" media="only screen and (max-
Popular Languages Popular Regions
More language codes can be found at width: 640px)"
zh Chinese CN China http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes href="https://m.example.com/"/>
es Spanish US United States
en English IN India Mobile page: http://m.example.com/
More region codes can be found at
ar Arabic JP Japan http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 <link rel="canonical" href="https://example.com/"/>
hi Hindi BR Brazil
The Web Developers SEO Cheat Sheet V3.0 | moz.com | 2015 SEOmoz 4