SlideShare a Scribd company logo
The Web Developer’s
SEO Cheat Sheet
Important HTML Elements
Meta Description Tag
Image
HTTP Status Codes
Canonicalization
Webmaster Tools
<head>
<title>Page Title</title>
</head>
<head>
<meta name="description"
content="This is an example.">
</head>
Less than 512px (50-70 characters)
Important keywords near the beginning
Each title should be unique
Best under 155 characters
Each description should be unique
Well written descriptions influence
click-through rate
Hyperlinks
Text Link
SEO Tips for URLs
Common Duplicate Homepage URLs
NoFollowed Link
Image Link
Hyperlinking Best Practices
Bing Webmaster Tools
Yandex Webmaster
Canonicalized URL Best Practices
<a href="https://www.example.com/
webpage.html">Keyword in Anchor
Text</a>
<a href="https://www.example.com/webpage.html"><img src="/img/
keyword.jpg" alt="keyword" width="100" height="100"></a>
<a href="https://www.example.com/
webpage.html" rel="nofollow">
Keyword in Anchor Text</a>
Preference: HTML links over
JavaScript
Use "nofollow" for paid links and un-
trusted content
For image links, the alt attribute serves
as anchor text
Preferred URL = https://example.com/
Place the following in <head> section to
indicate preferred URL:
<link href="https://example.com/"
rel="canonical" />
<img src="img/keyword.jpg" alt="keyword" width="100" height="100">
https://www.example.com
https://example.com
https://www.example.com/index.html
https://example.com/index.html
https://example.com/index.html&sessid=123
1. Protocol
2. Subdomain
3. Root Domain
4. Top-Level Domain
5. Subfolder/Path
6. Page
7. Parameter
8. Named Anchor
• Choose shorter, human-readable URLs with descriptive keywords
• Exclude dynamic parameters when possible (see Canonicalization and Pagination)
• When possible, place content on the same subdomain to preserve authority
Recommended: https://example.com/blog
Less Ideal: https://blog.example.com
https://www.google.com/webmasters/tools/home
http://www.bing.com/toolbox/webmaster/
https://webmaster.yandex.com/
URL Best Practices
Common URL Elements
https://store.example.com/category/keyword?id=123#top
1 2 3 4 5 6 7 8
V3.0 | moz.com | © 2015 SEOmoz
More information at
http://mz.cm/HTTP-codes
More information at http://mz.cm/canonical
Best PracticesTitle Tag 200 OK/Success
301 Permanent Redirect
302 Temporary Redirect
404 Not Found
410 Gone (permanently removed)
500 Server Error
503 Unavailable (retry later)
Google Webmaster Tools
V3.0 | moz.com | © 2015 SEOmoz 2The Web Developer’s SEO Cheat Sheet
Important User AgentsRobots Exclusion Standard
Sitemap Syntax
For robots.txt, robots meta tags, and X-Robots-Tag
Googlebot (can be used
as default for most
Google crawlers)
Googlebot-News
Googlebot-Image
Googlebot-Mobile
Mediapartners-Google
(Mobile Adsense) or
Mediapartners
Only Meta Robots and X-Robots
remove URLs from search results
Don't block CSS or JavaScript files
with robots.txt
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)
If the robots <META> tag is not defined,
the default is "INDEX,FOLLOW"
Robots.txt
Robots Best Practices
Arguments can be:X-Robots
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2015-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.9</priority>
</url>
</urlset>
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap1.xml.gz</loc>
<lastmod>2015-01-01T18:23:17+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap2.xml.gz</loc>
<lastmod>2015-01-01</lastmod>
</sitemap>
</sitemapindex>
XML Sitemaps
Sitemap Index File
Meta Robots
Location: https://example.com/robots.txt
Location: Sent in the HTTP headers
Location: In the html <head>
More information at http://www.robotstxt.org/robotstxt.html
More information at http://noarchive.net/xrobots/
More information at http://www.robotstxt.org/meta.html
User-agent: googlebot
Disallow: /example.html
Sitemap: https://example.com/sitemap.xml
X-Robots-Tag: noindex
<meta name="ROBOT NAME" content="ARGUMENTS" />
https://example.com/sitemap.xml
https://example.com/sitemap.xml.gz
https://example.com/sitemap.gz
Default Locations Can Be:
Mobile
News
Image
Video
Other Common Sitemap Types:
Googlebot-Video
AdsBot-Google Bingbot
Baiduspider Yandexbot
FacebookExternalHit Applebot
Pagination
More information at http://mz.cm/rel-next
Use rel="next" and rel="prev" in the <head> section
to indicate the relationship between paginated URLs
First Page - https://example.com/article
<link rel="next" href="https://example.com/article?pg=2">
Second Page - https://example.com/article?pg=2
<link rel="prev" href="https://example.com/article">
<link rel="next" href="https://example.com/article?pg=3">
Final Page - https://example.com/article?pg=3
<link rel="prev" href="https://example.com/article?pg=2">
Slurp Twitterbot
* (wildcard for all robots) Rogerbot
V3.0 | moz.com | © 2015 SEOmoz 3The Web Developer’s SEO Cheat Sheet
Important Social Metadata Rich Snippets and Structured Data
<!-- Open Graph data -->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article:
http://ogp.me/ns/article#">
<meta property="og:title" content="Your Title Here" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://example.com/" />
<meta property="og:image" content="https://example.com/image.jpg" />
<meta property="og:description" content="Your Description Here" />
<meta property="og:site_name" content="Your Site Name, i.e. Moz" />
<meta property="fb:app_id" content="Your FB_APP_ID" />
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="Your @publisher_handle">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="Your Page description
less than 200 characters">
<meta name="twitter:creator" content="Your @author_handle">
<!-- Twitter Summary card images must be at least 120x120px -->
<meta name="twitter:image" content="https://example.com/image.jpg">
Sample Meta Tag Template: "Article" Enhance search results and help machines to understand your content
More information at http://mz.cm/social-meta
Social Metadata Best Practices
Default to Open Graph Optimal Image Sizing
Platforms that support Open
Graph protocol include:
Facebook
Twitter
Google+
LinkedIn
Pinterest
Choose large images over small
Twitter:
Minimum 120 x 120px
No larger than 1MB
Facebook:
Minimum 200 x 200px
Over 1200 x 630px recommended
More information at http://mz.cm/rich-snippets
Place this data between the <head> tags of your website Common Vocabularies Popular Formats
Microdata
RDFa
JSON-LD
schema.org
datavocabulary.org
microformats.org
Reviews |
<div itemscope itemtype="http://schema.org/Review">
<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Book">
<span itemprop="name">The Art of SEO</span> </div>
<span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<span itemprop="ratingValue">5</span>
</span> stars -
<b>"<span itemprop="name">A good read.</span>" </b>
<span itemprop="author">Roger Mozbot</span>
<span itemprop="reviewBody">The Art of SEO is a good book.</span>
</div>
Rating: 5.0 - Review by Roger Mozbot
Common Structured Data Uses
Events
Business Information
Recipes
Media Content
People
Mobile Apps
Contact Data
Email Markup
Breadcrumbs |
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/widgets">
<span itemprop="name">Widgets</span></a>
<meta itemprop="position" content="1" />
</li>
› <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/widgets/large">
<span itemprop="name">Large Widgets</span></a>
<meta itemprop="position" content="2" />
</li>
</ol>
Widgets › Large Widgets
V3.0 | moz.com | © 2015 SEOmoz 4The Web Developer’s SEO Cheat Sheet
Targeting Multiple Languages Mobile Web Development
Declare language attribute in the HTML element Responsive Design
Separate URLs
HTML version in <head> (each version must identify all versions, including itself)
Sitemap version
Annotate alternate language & region versions of content
1
3
ccTLDs (Country Level Only)
Subdirectories with gTLDS
Subdomains with gTLDS
example.de
example.com/de/
de.example.com/
URL Structures for Country & Language Targeting
rel="alternate" hreflang="x"
<html lang="de">
<link rel="alternate" hreflang="x-default" href="http://example.com/" /> (Specifies Default)
<link rel="alternate" hreflang="de" href="http://example.com/de/" /> (Specifies Language)
<link rel="alternate" hreflang="de-DE" href="http://example.com/de-de/" /> (Specifies Language + Region)
<?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 rel="alternate" hreflang="en" href="http://example.com/english/" />
</url>
<url>
<loc>http://example.com/deutsch/</loc>
<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>
Place the meta viewport tag in the <head> of the document
<link rel="stylesheet" media="(min-width: 700px)"
href="min-700px.css">
<style>
@media (min-width:500px) and (max-width:600px)
{h1{color:#555}}
</style>
Identify mobile and desktop versions using
rel="alternate" and rel="canonical"
Desktop page: http://example.com/
<link rel="alternate" media="only screen and (max-
width: 640px)"
href="https://m.example.com/"/>
Mobile page: http://m.example.com/
<link rel="canonical" href="https://example.com/"/>
Popular Languages Popular Regions
zh Chinese
es Spanish
en English
ar Arabic
hi Hindi
CN China
US United States
IN India
JP Japan
BR Brazil
More language codes can be found at
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
More region codes can be found at
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Dynamic Serving via Vary HTTP Header2
Serves different HTML and CSS on the same URL, varied by user agent
(...rest of HTTP response headers...)
HTTP/1.1 200 OK
Content-Type: text/html
Vary: User-Agent
Content-Length: 3495
Uses CSS to alter the rendering of the page on the device using
media queries
<meta name="viewport" content="width=device-width,
initial-scale=1">

More Related Content

What's hot

Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
Kahena Digital Marketing
 
SEO AJAX Crawlability in a Responsive Publisher World
SEO AJAX Crawlability in a Responsive Publisher WorldSEO AJAX Crawlability in a Responsive Publisher World
SEO AJAX Crawlability in a Responsive Publisher World
Eric Wu
 
Seo cheat sheet 2013
Seo cheat sheet 2013Seo cheat sheet 2013
Seo cheat sheet 2013
SEOM
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
Christopher Schmitt
 
Website Optimization -SEO - Step By Step
Website Optimization -SEO - Step By StepWebsite Optimization -SEO - Step By Step
Website Optimization -SEO - Step By Step
Mia Lee
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheet
jrutter12
 

What's hot (6)

Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
Advanced Technical SEO - Index Bloat & Discovery: from Facets to Javascript F...
 
SEO AJAX Crawlability in a Responsive Publisher World
SEO AJAX Crawlability in a Responsive Publisher WorldSEO AJAX Crawlability in a Responsive Publisher World
SEO AJAX Crawlability in a Responsive Publisher World
 
Seo cheat sheet 2013
Seo cheat sheet 2013Seo cheat sheet 2013
Seo cheat sheet 2013
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
Website Optimization -SEO - Step By Step
Website Optimization -SEO - Step By StepWebsite Optimization -SEO - Step By Step
Website Optimization -SEO - Step By Step
 
Seo Web Developer Cheat Sheet
Seo Web Developer Cheat SheetSeo Web Developer Cheat Sheet
Seo Web Developer Cheat Sheet
 

Similar to Seo onpage for Developer

Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
Elena Michelle
 
Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013
vijay 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
 
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
 
Moz SEO Cheat Sheet
Moz SEO Cheat SheetMoz SEO Cheat Sheet
Moz SEO Cheat Sheet
jnnydeep
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheet
jeetututeja
 
SEO cheat 2013 by Moz
SEO cheat 2013 by MozSEO cheat 2013 by Moz
SEO cheat 2013 by Moz
Thái Mèo
 
Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013
E-event
 
Seo cheat sheet 2 [2013] For General Information
Seo cheat sheet 2 [2013] For General InformationSeo cheat sheet 2 [2013] For General Information
Seo cheat sheet 2 [2013] For General Information
Nirav Patel
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
Tim Wright
 
WordCamp Atlanta 2010 Advanced SEo for Wordpress
WordCamp Atlanta 2010 Advanced SEo for WordpressWordCamp Atlanta 2010 Advanced SEo for Wordpress
WordCamp Atlanta 2010 Advanced SEo for Wordpress
Topher Kohan
 
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
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standards
Justin Avery
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
偉格 高
 
Search engine optimization (seo) from Endeca & ATG
Search engine optimization (seo) from Endeca & ATGSearch engine optimization (seo) from Endeca & ATG
Search engine optimization (seo) from Endeca & ATG
Vignesh sitaraman
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
Hernan Mammana
 
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified DiffChoose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
Steve Morgan
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)
Christopher Ross
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
TsungWei Hu
 

Similar to Seo onpage for Developer (20)

Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
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
 
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
 
Moz SEO Cheat Sheet
Moz SEO Cheat SheetMoz SEO Cheat Sheet
Moz SEO Cheat Sheet
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheet
 
SEO cheat 2013 by Moz
SEO cheat 2013 by MozSEO cheat 2013 by Moz
SEO cheat 2013 by Moz
 
Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013
 
Seo cheat sheet 2 [2013] For General Information
Seo cheat sheet 2 [2013] For General InformationSeo cheat sheet 2 [2013] For General Information
Seo cheat sheet 2 [2013] For General Information
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
WordCamp Atlanta 2010 Advanced SEo for Wordpress
WordCamp Atlanta 2010 Advanced SEo for WordpressWordCamp Atlanta 2010 Advanced SEo for Wordpress
WordCamp Atlanta 2010 Advanced SEo for Wordpress
 
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
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standards
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
Search engine optimization (seo) from Endeca & ATG
Search engine optimization (seo) from Endeca & ATGSearch engine optimization (seo) from Endeca & ATG
Search engine optimization (seo) from Endeca & ATG
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified DiffChoose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
 

Recently uploaded

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 

Recently uploaded (20)

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 

Seo onpage for Developer

  • 1. The Web Developer’s SEO Cheat Sheet Important HTML Elements Meta Description Tag Image HTTP Status Codes Canonicalization Webmaster Tools <head> <title>Page Title</title> </head> <head> <meta name="description" content="This is an example."> </head> Less than 512px (50-70 characters) Important keywords near the beginning Each title should be unique Best under 155 characters Each description should be unique Well written descriptions influence click-through rate Hyperlinks Text Link SEO Tips for URLs Common Duplicate Homepage URLs NoFollowed Link Image Link Hyperlinking Best Practices Bing Webmaster Tools Yandex Webmaster Canonicalized URL Best Practices <a href="https://www.example.com/ webpage.html">Keyword in Anchor Text</a> <a href="https://www.example.com/webpage.html"><img src="/img/ keyword.jpg" alt="keyword" width="100" height="100"></a> <a href="https://www.example.com/ webpage.html" rel="nofollow"> Keyword in Anchor Text</a> Preference: HTML links over JavaScript Use "nofollow" for paid links and un- trusted content For image links, the alt attribute serves as anchor text Preferred URL = https://example.com/ Place the following in <head> section to indicate preferred URL: <link href="https://example.com/" rel="canonical" /> <img src="img/keyword.jpg" alt="keyword" width="100" height="100"> https://www.example.com https://example.com https://www.example.com/index.html https://example.com/index.html https://example.com/index.html&sessid=123 1. Protocol 2. Subdomain 3. Root Domain 4. Top-Level Domain 5. Subfolder/Path 6. Page 7. Parameter 8. Named Anchor • Choose shorter, human-readable URLs with descriptive keywords • Exclude dynamic parameters when possible (see Canonicalization and Pagination) • When possible, place content on the same subdomain to preserve authority Recommended: https://example.com/blog Less Ideal: https://blog.example.com https://www.google.com/webmasters/tools/home http://www.bing.com/toolbox/webmaster/ https://webmaster.yandex.com/ URL Best Practices Common URL Elements https://store.example.com/category/keyword?id=123#top 1 2 3 4 5 6 7 8 V3.0 | moz.com | © 2015 SEOmoz More information at http://mz.cm/HTTP-codes More information at http://mz.cm/canonical Best PracticesTitle Tag 200 OK/Success 301 Permanent Redirect 302 Temporary Redirect 404 Not Found 410 Gone (permanently removed) 500 Server Error 503 Unavailable (retry later) Google Webmaster Tools
  • 2. V3.0 | moz.com | © 2015 SEOmoz 2The Web Developer’s SEO Cheat Sheet Important User AgentsRobots Exclusion Standard Sitemap Syntax For robots.txt, robots meta tags, and X-Robots-Tag Googlebot (can be used as default for most Google crawlers) Googlebot-News Googlebot-Image Googlebot-Mobile Mediapartners-Google (Mobile Adsense) or Mediapartners Only Meta Robots and X-Robots remove URLs from search results Don't block CSS or JavaScript files with robots.txt 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) If the robots <META> tag is not defined, the default is "INDEX,FOLLOW" Robots.txt Robots Best Practices Arguments can be:X-Robots <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com/</loc> <lastmod>2015-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.9</priority> </url> </urlset> <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://example.com/sitemap1.xml.gz</loc> <lastmod>2015-01-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>https://example.com/sitemap2.xml.gz</loc> <lastmod>2015-01-01</lastmod> </sitemap> </sitemapindex> XML Sitemaps Sitemap Index File Meta Robots Location: https://example.com/robots.txt Location: Sent in the HTTP headers Location: In the html <head> More information at http://www.robotstxt.org/robotstxt.html More information at http://noarchive.net/xrobots/ More information at http://www.robotstxt.org/meta.html User-agent: googlebot Disallow: /example.html Sitemap: https://example.com/sitemap.xml X-Robots-Tag: noindex <meta name="ROBOT NAME" content="ARGUMENTS" /> https://example.com/sitemap.xml https://example.com/sitemap.xml.gz https://example.com/sitemap.gz Default Locations Can Be: Mobile News Image Video Other Common Sitemap Types: Googlebot-Video AdsBot-Google Bingbot Baiduspider Yandexbot FacebookExternalHit Applebot Pagination More information at http://mz.cm/rel-next Use rel="next" and rel="prev" in the <head> section to indicate the relationship between paginated URLs First Page - https://example.com/article <link rel="next" href="https://example.com/article?pg=2"> Second Page - https://example.com/article?pg=2 <link rel="prev" href="https://example.com/article"> <link rel="next" href="https://example.com/article?pg=3"> Final Page - https://example.com/article?pg=3 <link rel="prev" href="https://example.com/article?pg=2"> Slurp Twitterbot * (wildcard for all robots) Rogerbot
  • 3. V3.0 | moz.com | © 2015 SEOmoz 3The Web Developer’s SEO Cheat Sheet Important Social Metadata Rich Snippets and Structured Data <!-- Open Graph data --> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#"> <meta property="og:title" content="Your Title Here" /> <meta property="og:type" content="article" /> <meta property="og:url" content="https://example.com/" /> <meta property="og:image" content="https://example.com/image.jpg" /> <meta property="og:description" content="Your Description Here" /> <meta property="og:site_name" content="Your Site Name, i.e. Moz" /> <meta property="fb:app_id" content="Your FB_APP_ID" /> <!-- Twitter Card data --> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="Your @publisher_handle"> <meta name="twitter:title" content="Your Page Title"> <meta name="twitter:description" content="Your Page description less than 200 characters"> <meta name="twitter:creator" content="Your @author_handle"> <!-- Twitter Summary card images must be at least 120x120px --> <meta name="twitter:image" content="https://example.com/image.jpg"> Sample Meta Tag Template: "Article" Enhance search results and help machines to understand your content More information at http://mz.cm/social-meta Social Metadata Best Practices Default to Open Graph Optimal Image Sizing Platforms that support Open Graph protocol include: Facebook Twitter Google+ LinkedIn Pinterest Choose large images over small Twitter: Minimum 120 x 120px No larger than 1MB Facebook: Minimum 200 x 200px Over 1200 x 630px recommended More information at http://mz.cm/rich-snippets Place this data between the <head> tags of your website Common Vocabularies Popular Formats Microdata RDFa JSON-LD schema.org datavocabulary.org microformats.org Reviews | <div itemscope itemtype="http://schema.org/Review"> <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Book"> <span itemprop="name">The Art of SEO</span> </div> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <span itemprop="ratingValue">5</span> </span> stars - <b>"<span itemprop="name">A good read.</span>" </b> <span itemprop="author">Roger Mozbot</span> <span itemprop="reviewBody">The Art of SEO is a good book.</span> </div> Rating: 5.0 - Review by Roger Mozbot Common Structured Data Uses Events Business Information Recipes Media Content People Mobile Apps Contact Data Email Markup Breadcrumbs | <ol itemscope itemtype="http://schema.org/BreadcrumbList"> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a itemprop="item" href="https://example.com/widgets"> <span itemprop="name">Widgets</span></a> <meta itemprop="position" content="1" /> </li> › <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a itemprop="item" href="https://example.com/widgets/large"> <span itemprop="name">Large Widgets</span></a> <meta itemprop="position" content="2" /> </li> </ol> Widgets › Large Widgets
  • 4. V3.0 | moz.com | © 2015 SEOmoz 4The Web Developer’s SEO Cheat Sheet Targeting Multiple Languages Mobile Web Development Declare language attribute in the HTML element Responsive Design Separate URLs HTML version in <head> (each version must identify all versions, including itself) Sitemap version Annotate alternate language & region versions of content 1 3 ccTLDs (Country Level Only) Subdirectories with gTLDS Subdomains with gTLDS example.de example.com/de/ de.example.com/ URL Structures for Country & Language Targeting rel="alternate" hreflang="x" <html lang="de"> <link rel="alternate" hreflang="x-default" href="http://example.com/" /> (Specifies Default) <link rel="alternate" hreflang="de" href="http://example.com/de/" /> (Specifies Language) <link rel="alternate" hreflang="de-DE" href="http://example.com/de-de/" /> (Specifies Language + Region) <?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 rel="alternate" hreflang="en" href="http://example.com/english/" /> </url> <url> <loc>http://example.com/deutsch/</loc> <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> Place the meta viewport tag in the <head> of the document <link rel="stylesheet" media="(min-width: 700px)" href="min-700px.css"> <style> @media (min-width:500px) and (max-width:600px) {h1{color:#555}} </style> Identify mobile and desktop versions using rel="alternate" and rel="canonical" Desktop page: http://example.com/ <link rel="alternate" media="only screen and (max- width: 640px)" href="https://m.example.com/"/> Mobile page: http://m.example.com/ <link rel="canonical" href="https://example.com/"/> Popular Languages Popular Regions zh Chinese es Spanish en English ar Arabic hi Hindi CN China US United States IN India JP Japan BR Brazil More language codes can be found at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes More region codes can be found at http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Dynamic Serving via Vary HTTP Header2 Serves different HTML and CSS on the same URL, varied by user agent (...rest of HTTP response headers...) HTTP/1.1 200 OK Content-Type: text/html Vary: User-Agent Content-Length: 3495 Uses CSS to alter the rendering of the page on the device using media queries <meta name="viewport" content="width=device-width, initial-scale=1">