SlideShare a Scribd company logo
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
https://www.google.com/webmasters/tools/home

Bing Webmaster Tools
http://www.bing.com/toolbox/webmaster/

503	 Unavailable (retry later)

Yandex Webmaster Tools

More information at
http://mz.cm/HTTP-codes

http://webmaster.yandex.com/

<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="http://www.example.com/
webpage.html">Keyword in Anchor
Text</a>

Limit links per page to roughly 150

http://www.example.com

http://www.example.com/

Use "nofollow" for paid links and
untrusted content

http://example.com

rel="canonical"

For image links, the alt tags serves
as anchor text

http://www.example.com/index.html

<link href="http://www.example.com/"
rel="canonical" />

NoFollowed Link
<a href="http://www.example.com/
webpage.html" rel="nofollow">
Keyword in Anchor Text</a>

http://example.com/index.html

Image Link
<a href="http://www.example.com/webpage.html"><img src="img/
keyword.jpg" alt="keyword" width="100" height="100"></a>

URL Best Practices
Common URL Elements
http://store.example.com/category/keyword?id=123#top

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

http://example.com/index.html&sessid=123

More information at http://mz.cm/canonical

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: http://example.com/blog
	 Less Ideal: http://blog.example.com
V2.0

|

moz.com

|

© 2013 SEOmoz
Robot Control Syntax
Robots.txt
Location: http://example.com/robots.txt
User-agent: googlebot
Disallow: /no-google.html
Sitemap: http://example.com/sitemap.xml
More information at http://www.robotstxt.org/robotstxt.html

X-Robots
Location: Sent in the HTTP headers
X-Robots-Tag: noindex
More information at http://noarchive.net/xrobots/

Meta Robots
Location: In the html <head>
<meta name="ROBOT NAME" content="ARGUMENTS" />
More information at http://www.robotstxt.org/meta.html

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;
+http://www.google.com/bot.html)

Googlebot-News

Googlebot-News

Googlebot-Image

Googlebot-Image/1.0

Googlebot-Mobile

[various mobile device types] (compatible;
Googlebot-Mobile/2.1; +http://www.
google.com/bot.html)

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; +http://www.google.
com/bot.html)

Mediapartners-Google
(Mobile Adsense) or
Mediapartners

[various mobile device types] (compatible;
Mediapartners-Google/2.1; +http://www.
google.com/bot.html)

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="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>http://www.example.com/</loc>
		<lastmod>1970-01-01</lastmod>
		<changefreq>monthly</changefreq>
		<priority>0.8</priority>
	</url>
</urlset>

http://www.example.com/sitemap.xml

Mediapartners (Adsense)

Mediapartners-Google

http://www.example.com/sitemap.xml.gz

Bingbot

Mozilla/5.0 (compatible; bingbot/2.0;
+http://www.bing.com/bingbot.htm)

Baiduspider

Mozilla/5.0 (compatible; Baiduspider/2.0;
+/web/20130307230956/http://www.
baidu.com/search/spider.html)

Yandexbot

Mozilla/5.0 (compatible; YandexBot/3.0;
+http://yandex.com/bots)

FacebookExternalHit

facebookexternalhit/1.1 (+http://www.
facebook.com/externalhit_uatext.php)

Rogerbot

Mozilla/5.0 (compatible; rogerBot/1.0;
UrlCrawler; http://moz.com/help/pro/
rogerbot-crawler)

Sitemap Index File
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		
<loc>http://www.example.com/sitemap1.xml.gz</loc>
		
<lastmod>2004-10-01T18:23:17+00:00</lastmod>
	 </sitemap>
	
<sitemap>
		
<loc>http://www.example.com/sitemap2.xml.gz</loc>
		
<lastmod>2005-01-01</lastmod>
	 </sitemap>
</sitemapindex>

The Web Developer’s SEO Cheat Sheet

http://www.example.com/sitemap.gz

Other Common Sitemap Types:
Mobile
News
Image
Video

V2.0

|

moz.com

|

© 2013 SEOmoz

2
Important Metadata
Facebook Open Graph

Google+ Authorship
For author information in Google search results:

<head>
<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="og:url" content="http://www.your-site.com/">
<meta property="og:image" content="http://www.your-site.com/image.jpg">

1

Link your content to your Google+ profile

<a href="[profile_url]?rel=author">Google</a>

<meta property="og:site_name" content="your-site-name">
<meta property="fb:admins" content="your-Facebook-page-user-ID">
</head>

More information at https://developers.facebook.com/docs/opengraph/

Twitter Cards

2

Link back to your site from the ‘Contributor’
section of your Google+ profile

More information at
https://support.google.com/webmasters/answer/2539557

<head>
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="http://www.example.com/your-url-goes-here/">
<meta name="twitter:title" content="Title Goes Here">
<meta name="twitter:description" content="Your description goes here.">
<meta name="twitter:image" content="http://example.com/image.jpg">
</head>

More information at https://dev.twitter.com/docs/cards

Google+ Publisher
For businesses, brands, products and organizations:

1

Link your homepage to your Google+ profile

Google+
<a href="[profile_url]?rel=publisher">Google</a>

Google+ will extract information from Open Graph properties, title
and meta description tags, or Schema.org microdata (recommended).
<html itemscope itemtype="http://schema.org/Article">
<head>
<meta itemprop="name" content="Title Goes Here">
<meta itemprop="description" content="Description Goes Here">

2

Link to your website from your Google+ page's profile

More information at
https://support.google.com/webmasters/answer/1708844

<meta itemprop="image" content="http://example.com/image.jpg">
</head>

More information at https://developers.google.com/+/web/snippet/

The Web Developer’s SEO Cheat Sheet

V2.0

|

moz.com

|

© 2013 SEOmoz

3
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

example.de

Responsive Design

Uses CSS to alter the rendering of the page on the
device using media queries
Example:

de.example.com/

/* Phones */
@media (max-width: 767px) { ... }
/* Tablets to Desktops */
@media (min-width: 768px) and (max-width:
992px) { ... }

Subdirectories with gTLDS
example.com/de/

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="http://www.example.com/" /> (Specifies Default)

2

<link rel="alternate" hreflang="de" href="http://example.com/de/" /> (Specifies Language)

Serves different HTML and CSS on the same URL, varied by user agent

<link rel="alternate" hreflang="de-ES" href="http://example.com/de-es/" /> (Specifies Language + Region)

HTTP/1.1 200 OK

Sitemap version

Content-Type: text/html

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://example.com/english</loc>
<xhtml:link rel="alternate" hreflang="de" href="http://example.com/deutsch/" />
<xhtml:link

Dynamic Serving via Vary HTTP Header

rel="alternate" hreflang="en"

href="http://example.com/english/" />

</url>
<url>
<loc>http://example.com/deutsch/</loc>

Vary: User-Agent
Content-Length: 5710

(...rest 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="http://example.com/english/" />
<xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/" />
</url>
</urlset>

Desktop page: http://example.com/

Popular Languages

Popular Regions

ch	
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
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

	

width: 640px)"

More region codes can be found at
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Mobile page: http://m.example.com/
	
<link rel="canonical" href="http://example.com/"/>

The Web Developer’s SEO Cheat Sheet

	href="http://m.example.com/"/>

V2.0

|

moz.com

|

© 2013 SEOmoz

4

More Related Content

What's hot

Seo Cheat Sheet
Seo Cheat SheetSeo Cheat Sheet
Seo Cheat Sheet
Anchal Thakur
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheetjrutter12
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
Diego Scataglini
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
志宇 許
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheethemarilo
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
Diego Scataglini
 

What's hot (6)

Seo Cheat Sheet
Seo Cheat SheetSeo Cheat Sheet
Seo Cheat Sheet
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheet
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheet
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
 

Viewers also liked

Daily annoucements book clousure uptodated- 08.05.2015
Daily annoucements book clousure uptodated- 08.05.2015Daily annoucements book clousure uptodated- 08.05.2015
Daily annoucements book clousure uptodated- 08.05.2015
RAFI SECURITIES (PVT.)LTD.
 
Hán tự nhật sơ cấp 2
Hán tự nhật sơ cấp 2Hán tự nhật sơ cấp 2
Hán tự nhật sơ cấp 2
Ngọc Huỳnh
 
Mental Health Facilities | News24
Mental Health Facilities | News24Mental Health Facilities | News24
Mental Health Facilities | News24
3carportspta
 
Edital concurso TRE-PA 2013
Edital concurso TRE-PA 2013Edital concurso TRE-PA 2013
Edital concurso TRE-PA 2013
Concurso Virtual
 
Promkes siti lestari
Promkes siti lestariPromkes siti lestari
Promkes siti lestariMarsianus Usl
 
De cuong on dh cd day du
De cuong on dh cd day duDe cuong on dh cd day du
De cuong on dh cd day du
keinchua2
 

Viewers also liked (6)

Daily annoucements book clousure uptodated- 08.05.2015
Daily annoucements book clousure uptodated- 08.05.2015Daily annoucements book clousure uptodated- 08.05.2015
Daily annoucements book clousure uptodated- 08.05.2015
 
Hán tự nhật sơ cấp 2
Hán tự nhật sơ cấp 2Hán tự nhật sơ cấp 2
Hán tự nhật sơ cấp 2
 
Mental Health Facilities | News24
Mental Health Facilities | News24Mental Health Facilities | News24
Mental Health Facilities | News24
 
Edital concurso TRE-PA 2013
Edital concurso TRE-PA 2013Edital concurso TRE-PA 2013
Edital concurso TRE-PA 2013
 
Promkes siti lestari
Promkes siti lestariPromkes siti lestari
Promkes siti lestari
 
De cuong on dh cd day du
De cuong on dh cd day duDe cuong on dh cd day du
De cuong on dh cd day du
 

Similar to Seo cheat sheet 2 [2013] For General Information

Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013vijay patil
 
Seo Cheat Sheet 2 [2013]
Seo Cheat Sheet 2 [2013]Seo Cheat Sheet 2 [2013]
Seo Cheat Sheet 2 [2013]Burt and Co LLC
 
Seo cheat sheet 2013
Seo cheat sheet 2013Seo cheat sheet 2013
Seo cheat sheet 2013
GroupM Spain
 
Moz SEO Cheat Sheet
Moz SEO Cheat SheetMoz SEO Cheat Sheet
Moz SEO Cheat Sheet
jnnydeep
 
The Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
The Web Developer's SEO Cheat Sheet 2.0 from the Moz BlogThe Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
The Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
Foteini Vavitsa
 
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
patrickstox
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheetjeetututeja
 
Seo web developer_cheat_sheet
Seo web developer_cheat_sheetSeo web developer_cheat_sheet
Seo web developer_cheat_sheetFernando Johann
 
SEO web developer cheat sheet
SEO web developer cheat sheetSEO web developer cheat sheet
SEO web developer cheat sheetBurt and Co LLC
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016
Nirav Patel
 
Seo onpage for Developer
Seo onpage for DeveloperSeo onpage for Developer
Seo onpage for Developer
Dương Trần Danh
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
Harpreet Kaur
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet
Shubham Kumar Singh
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheet
Rohan Jha
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Advanced SEO for Developers (Mix08)
Advanced SEO for Developers (Mix08)Advanced SEO for Developers (Mix08)
Advanced SEO for Developers (Mix08)
Nathan Buggia
 
Digital marketing introduction - SEO for developers
Digital marketing introduction - SEO for developersDigital marketing introduction - SEO for developers
Digital marketing introduction - SEO for developers
Gunjan Srivastava
 
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmastersGuía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
Miguel López Zuleta
 

Similar to Seo cheat sheet 2 [2013] For General Information (20)

Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013
 
Seo Cheat Sheet 2 [2013]
Seo Cheat Sheet 2 [2013]Seo Cheat Sheet 2 [2013]
Seo Cheat Sheet 2 [2013]
 
Seo cheat sheet 2013
Seo cheat sheet 2013Seo cheat sheet 2013
Seo cheat sheet 2013
 
Moz SEO Cheat Sheet
Moz SEO Cheat SheetMoz SEO Cheat Sheet
Moz SEO Cheat Sheet
 
The Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
The Web Developer's SEO Cheat Sheet 2.0 from the Moz BlogThe Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
The Web Developer's SEO Cheat Sheet 2.0 from the Moz Blog
 
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
A Crash Course in Technical SEO from Patrick Stox - Beer & SEO Meetup May 2019
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheet
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
Seo web developer_cheat_sheet
Seo web developer_cheat_sheetSeo web developer_cheat_sheet
Seo web developer_cheat_sheet
 
SEO web developer cheat sheet
SEO web developer cheat sheetSEO web developer cheat sheet
SEO web developer cheat sheet
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016
 
Seo onpage for Developer
Seo onpage for DeveloperSeo onpage for Developer
Seo onpage for Developer
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheet
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Advanced SEO for Developers (Mix08)
Advanced SEO for Developers (Mix08)Advanced SEO for Developers (Mix08)
Advanced SEO for Developers (Mix08)
 
Digital marketing introduction - SEO for developers
Digital marketing introduction - SEO for developersDigital marketing introduction - SEO for developers
Digital marketing introduction - SEO for developers
 
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmastersGuía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters
 

Recently uploaded

To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 

Recently uploaded (20)

To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 

Seo cheat sheet 2 [2013] For General Information

  • 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 https://www.google.com/webmasters/tools/home Bing Webmaster Tools http://www.bing.com/toolbox/webmaster/ 503 Unavailable (retry later) Yandex Webmaster Tools More information at http://mz.cm/HTTP-codes http://webmaster.yandex.com/ <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="http://www.example.com/ webpage.html">Keyword in Anchor Text</a> Limit links per page to roughly 150 http://www.example.com http://www.example.com/ Use "nofollow" for paid links and untrusted content http://example.com rel="canonical" For image links, the alt tags serves as anchor text http://www.example.com/index.html <link href="http://www.example.com/" rel="canonical" /> NoFollowed Link <a href="http://www.example.com/ webpage.html" rel="nofollow"> Keyword in Anchor Text</a> http://example.com/index.html Image Link <a href="http://www.example.com/webpage.html"><img src="img/ keyword.jpg" alt="keyword" width="100" height="100"></a> URL Best Practices Common URL Elements http://store.example.com/category/keyword?id=123#top 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 http://example.com/index.html&sessid=123 More information at http://mz.cm/canonical 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: http://example.com/blog Less Ideal: http://blog.example.com V2.0 | moz.com | © 2013 SEOmoz
  • 2. Robot Control Syntax Robots.txt Location: http://example.com/robots.txt User-agent: googlebot Disallow: /no-google.html Sitemap: http://example.com/sitemap.xml More information at http://www.robotstxt.org/robotstxt.html X-Robots Location: Sent in the HTTP headers X-Robots-Tag: noindex More information at http://noarchive.net/xrobots/ Meta Robots Location: In the html <head> <meta name="ROBOT NAME" content="ARGUMENTS" /> More information at http://www.robotstxt.org/meta.html 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; +http://www.google.com/bot.html) Googlebot-News Googlebot-News Googlebot-Image Googlebot-Image/1.0 Googlebot-Mobile [various mobile device types] (compatible; Googlebot-Mobile/2.1; +http://www. google.com/bot.html) 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; +http://www.google. com/bot.html) Mediapartners-Google (Mobile Adsense) or Mediapartners [various mobile device types] (compatible; Mediapartners-Google/2.1; +http://www. google.com/bot.html) 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="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.example.com/</loc> <lastmod>1970-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset> http://www.example.com/sitemap.xml Mediapartners (Adsense) Mediapartners-Google http://www.example.com/sitemap.xml.gz Bingbot Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Baiduspider Mozilla/5.0 (compatible; Baiduspider/2.0; +/web/20130307230956/http://www. baidu.com/search/spider.html) Yandexbot Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) FacebookExternalHit facebookexternalhit/1.1 (+http://www. facebook.com/externalhit_uatext.php) Rogerbot Mozilla/5.0 (compatible; rogerBot/1.0; UrlCrawler; http://moz.com/help/pro/ rogerbot-crawler) Sitemap Index File <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>http://www.example.com/sitemap1.xml.gz</loc> <lastmod>2004-10-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/sitemap2.xml.gz</loc> <lastmod>2005-01-01</lastmod> </sitemap> </sitemapindex> The Web Developer’s SEO Cheat Sheet http://www.example.com/sitemap.gz Other Common Sitemap Types: Mobile News Image Video V2.0 | moz.com | © 2013 SEOmoz 2
  • 3. Important Metadata Facebook Open Graph Google+ Authorship For author information in Google search results: <head> <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="og:url" content="http://www.your-site.com/"> <meta property="og:image" content="http://www.your-site.com/image.jpg"> 1 Link your content to your Google+ profile <a href="[profile_url]?rel=author">Google</a> <meta property="og:site_name" content="your-site-name"> <meta property="fb:admins" content="your-Facebook-page-user-ID"> </head> More information at https://developers.facebook.com/docs/opengraph/ Twitter Cards 2 Link back to your site from the ‘Contributor’ section of your Google+ profile More information at https://support.google.com/webmasters/answer/2539557 <head> <meta name="twitter:card" content="summary"> <meta name="twitter:url" content="http://www.example.com/your-url-goes-here/"> <meta name="twitter:title" content="Title Goes Here"> <meta name="twitter:description" content="Your description goes here."> <meta name="twitter:image" content="http://example.com/image.jpg"> </head> More information at https://dev.twitter.com/docs/cards Google+ Publisher For businesses, brands, products and organizations: 1 Link your homepage to your Google+ profile Google+ <a href="[profile_url]?rel=publisher">Google</a> Google+ will extract information from Open Graph properties, title and meta description tags, or Schema.org microdata (recommended). <html itemscope itemtype="http://schema.org/Article"> <head> <meta itemprop="name" content="Title Goes Here"> <meta itemprop="description" content="Description Goes Here"> 2 Link to your website from your Google+ page's profile More information at https://support.google.com/webmasters/answer/1708844 <meta itemprop="image" content="http://example.com/image.jpg"> </head> More information at https://developers.google.com/+/web/snippet/ The Web Developer’s SEO Cheat Sheet V2.0 | moz.com | © 2013 SEOmoz 3
  • 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 example.de Responsive Design Uses CSS to alter the rendering of the page on the device using media queries Example: de.example.com/ /* Phones */ @media (max-width: 767px) { ... } /* Tablets to Desktops */ @media (min-width: 768px) and (max-width: 992px) { ... } Subdirectories with gTLDS example.com/de/ 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="http://www.example.com/" /> (Specifies Default) 2 <link rel="alternate" hreflang="de" href="http://example.com/de/" /> (Specifies Language) Serves different HTML and CSS on the same URL, varied by user agent <link rel="alternate" hreflang="de-ES" href="http://example.com/de-es/" /> (Specifies Language + Region) HTTP/1.1 200 OK Sitemap version Content-Type: text/html <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <url> <loc>http://example.com/english</loc> <xhtml:link rel="alternate" hreflang="de" href="http://example.com/deutsch/" /> <xhtml:link Dynamic Serving via Vary HTTP Header rel="alternate" hreflang="en" href="http://example.com/english/" /> </url> <url> <loc>http://example.com/deutsch/</loc> Vary: User-Agent Content-Length: 5710 (...rest 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="http://example.com/english/" /> <xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/" /> </url> </urlset> Desktop page: http://example.com/ Popular Languages Popular Regions ch 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 http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes width: 640px)" More region codes can be found at http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Mobile page: http://m.example.com/ <link rel="canonical" href="http://example.com/"/> The Web Developer’s SEO Cheat Sheet href="http://m.example.com/"/> V2.0 | moz.com | © 2013 SEOmoz 4