SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 1
The Web Developer’s SEO Cheat Sheet
Important HTML Elements
These affect how you show up in search results
HTTP Status Codes Webmaster Tools
• Best between 50–60 characters
• Important keywords near the beginning
• Well-written descriptions influence
click-through rates (CTR)
• Best around 160 characters
• Each description should be unique
• Well-written descriptions influence
click-through rates (CTR)
• Providing image height and width improves
page speed
Hyperlinks
• Use “nofollow” for paid links and
distrusted content
• Use “sponsored” for sponsored or
compensated links
• Use “ugc” for links within user-generated
content
• For image links, the alt attribute serves as the
anchor text
Title Tag
<head>
<title>Page Title</title>
</head>
Meta Description Tag
<head>
<meta name="description"
content="This is an example.">
</head>
Image
<img src="img/keyword.jpg" alt="descrip-
tion of image" width="100" height="100">
Text Link
<a href="https://www.example.com/webpage.
html">Anchor Text</a>
NoFollowed Link
<a href="https://www.example.com/web-
page.html" rel="nofollow">
Anchor Text</a>
Image Link
<a href="https://www.example.com/web-
page.html"><img src="/img/keyword.jpg"
alt="description of image" height="50"
width="100"></a>
200
301
302
404
410
500
503
OK/Success
Permanent redirect
Temporary redirect
Not found
Gone (permanently removed)
Server error
Unavailable (retry later)
Google Search Console
search.google.com/search-console/about
Bing Webmaster Tools
bing.com/toolbox/webmaster
Yandex
webmaster.yandex.com
Canonicalization
• Preferred URL = https://example.com/
• Place the following in <head> section to
indicate preferred URL:
<link href="https://example.com/" rel=
"canonical" />
More information at mz.cm/canonical
Common Duplicate Homepage URLs
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
Best Practices
“URLs” next page
Best Practices
Best Practices
Get technical insights
with Moz Pro: mz.cm/free
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 2
Common URL Elements
h t t p s : //s t o r e . ex a m p l e . c o m /c a t e g o r y/ key w o r d ? i d = 1 2 3 # t o p
1 82 3 4 5 6 7
1. Protocol
5. Subfolder/path
2. Subdomain
6. Page
3. Root domain
7. Parameter
4. Top-level domain
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
URLs
Robots Exclusion Standard
• Only Meta Robots and X-Robots-Tag remove
URLs from search results
• Don’t block CSS or JavaScript files with
robots.txt
Robots.txt
Location: https://example.com/robots.txt
User-agent: googlebot
Disallow: /example.html
Sitemap: https://example.com/sitemap.xml
More information at mz.cm/robotstxt
X-Robots-Tag
Location: Sent in the HTTP headers
X-Robots-Tag: noindex
More information at mz.cm/x-robots
Meta Robots
Location: In the HTML <head>
<meta name="robots" content="[PARAMETER]" />
More information at mz.cm/x-robots
Important Parameters
• Noindex (do not index)
• Nofollow (do not follow links)
• Noarchive (do not show cache)
...or combine (noindex, nofollow)
If the robots <META> tag is not defined, the
default is "INDEX, FOLLOW"
Don’t block noindex URLs in robots.txt.
They need to be crawled to be respected.
Important User Agents
For Robots.txt, Robots Meta Tags, and X-Robots-Tag:
• Googlebot (can be used as default for most
Google crawlers)
• Googlebot-News
• Googlebot-Image
• AdsBot-Google
• Mediapartners-Google (Mobile Adsense)
or Mediapartners
• Googlebot-Video
• Bingbot
• Yandexbot
• Baiduspider
• FacebookExternalHit
• Applebot
• Slurp
• Twitterbot
• Rogerbot
• Dotbot
• Wildcard for all robots: *
Recommended: https://example.com/blog
Less ideal: https://blog.example.com
Best Practices
Best Practices
“Sitemap Syntax” next page
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 3
Sitemap Syntax
XML Sitemap Example:
RSS and text sitemaps are also options
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/foo.html</loc>
<lastmod>2019-06-04</lastmod>
</url>
</urlset>
Sitemap Index File
<?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>2019-01-01T18:23:17+00:00</lastmod>
	 </sitemap>
	 <sitemap>
		 <loc>https://example.com/sitemap2.xml.gz</loc>
		 <lastmod>2019-01-01</lastmod>
	 </sitemap>
</sitemapindex>
Default Location:
https://example.com/sitemap.xml
sitemap: parent tag for each sitemap
loc: location of the sitemap
lastmod: the last modified date
* A sitemap cannot contain over 50,000 URLs.
Large websites should use multiple sitemaps
listed under a single sitemap index file.
Other Common Sitemap Types:
• Images
• Video
• News
* Don't forget to submit your sitemap to Google
via Google Search Console.
Important Social Metadata
Mobile
There are 3 ways to implement a mobile website:
• Responsive web design (adjusts for screen size)
• Dynamic serving (serves different content based on
a user’s device)
Separate URLs (different URLs that serve mobile-optimized
content). Not advised.
Check to see if your site is mobile-friendly:
mz.cm/mobile-friendly
• Your mobile version should display the same content as your
desktop site
• Page title tags & meta descriptions should remain the same
• Use the meta name="viewport" tag in the head of your page
to tell the browser how to adjust the content.
For example: <meta name="viewport" content=
"width=device-width, initial-scale=1.0">
Increase speed by optimizing the critical rendering path,
using HTTPS & HTTP/2, eliminating render-blocking resources,
removing unused CSS, and deferring offscreen images.
More information at mz.cm/mobile-seo
Sample Meta Tag Template: "Article"
Place this data between the <head> tags of your website.
<!-- Required Open Graph data -->
<meta property="og:title" content="Developer's Cheat
Sheet to SEO" />
<meta property="og:type" content="article" />
<meta property="og:image" content="https://example.
com/image.jpg" />
<meta property="og:url" content="https://example.
com" />
<!-- Optional Open Graph data -->
<meta property="og:audio" content="https://example.
com/guide.mp3." />
<meta property="og:description" content="Description
here." />
<meta property="og:site_name" content="Your Site
Name, i.e. Moz" />
<meta property="og:locale" content="en_us" />
<meta property="og:video" content="https://example.
com/guide.mp4" />
<meta property="fb:app_id" content="Your FB_APP_ID" />
<!-- Find additional markup on https://ogp.me -->
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@Moz">
<meta name="twitter:title" content="Title of content
(max 70 characters)">
<meta name="twitter:description" content="Descrip-
tion of content">
<meta name="twitter:image" content="https://example.
com/unique-image.jpg">
Default to Open Graph
Platforms that support Open Graph protocol include Facebook,
Twitter, LinkedIn, and Pinterest.
Optimal Image Sizing
Twitter:
• Minimum 144x144 px
• No larger than 4096x4096 px or 5MB
Facebook:
• Minimum 600x600 px
• Try to use images that are at least 1080 px in width
More information at mz.cm/social-meta
Best Practices
Best Practices
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 4
Rich Snippets and Structured Data
Enhance search results and help search engines understand your content.
Common Vocabularies: schema.org
Popular Formats: JSON-LD, RDFa, Microdata
Breadcrumbs
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
<---Repeat markup for additional list items--->
"@type": "ListItem",
"position": 1,
"item": {
"@id": "http://example.com/dinner",
"name": "Dinner" }
},
<---Additional list items here--->
}]
}</script>
Reviews
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Review",
"reviewBody": "The restaurant has great ambiance.",
"itemReviewed": {
"@type": "Restaurant",
"name": "Fine Dining Establishment"
},
"reviewRating": {
"@type": "Rating",
"ratingValue": 5,
"worstRating": 1,
"bestRating": 5,
"reviewAspect": "Ambiance"
}
}
</script>
Review stars won’t show up in search results.
Security
When using target="_blank" to open a link in a new tab, make sure you're implementing
rel="noopener"
or
rel="noreferrer" to avoid exposing your website to a surface attack.
SSL certificates are table stakes today. Your website must have one.
Lighthouse (mz.cm/lighthouse) helps to identify these vulnerabilities (and more) in the audit.
Common Structured Data Types:
• Local business
• FAQ page
• Person
• How to
More information at mz.cm/rich-snippets
• Product
• Article
• Recipes
• QApage
“Targeting Multiple Languages” next page
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 5
Targeting Multiple Languages
Help search engines understand your location/language targets.
Sitemap Version
<?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>
en
es
zh
hi
ja
English
Spanish
Chinese
Hindi
Japanese
Popular Languages
US
GB
CN
IN
JP
United States
Great Britain
China
India
Japan
Popular Regions
More region codes can be found at
mz.cm/regcodes
URL Structures for Country & Language Targeting
ccTLDs (Country-Level Only): example.de
Subdirectories with gTLDS: example.com/de/
Subdomains with gTLDS: de.example.com/
rel="alternate" hreflang="x"
Annotate alternate language & region versions of content
HTML version in <head>
Each version must identify all versions, including itself
<link rel="alternate" hreflang="x-default" href="http://example.com/" /> (Specifies
Default)
<link rel="alternate" hreflang="en" href="http://example.com/en/" /> (Specifies Lan-
guage; English)
<link rel="alternate" hreflang="en-GB" href="http://example.com/en-gb/" /> (Speci-
fies Language + Region)
More language codes can be found at
mz.cm/langcodes
“Performance” next page
| The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 6
Image Optimization
The most common culprit of poor page speed is images!
Image Optimization Tips:
• Compress your images & experiment with quality settings
• Remove unnecessary image metadata
• Explore lazy loading
• Leverage SRCSET for different screen sizes
• Ensure that your images have alt text
• Invest in automated tools that can help ensure your image assets will always
be optimized (example: mz.cm/imageopt)
Performance
Page Speed
Page Speed Tips:
• Compress and minify your code
• Reduce page redirects
• Remove render-blocking JavaScript
• Use treeshaking
• Leverage browser caching
• Use a CDN
• Leverage preconnect, prefetch and preload
• Analyze your critical rendering path performance for additional opportunities
in Chrome Dev Tools.
Test your Page Speed with:
Lighthouse: developers.google.com/web/tools/lighthouse
PageSpeed Insights: developers.google.com/speed/pagespeed/insights
GTmetrix: gtmetrix.com
WebPageTest: webpagetest.org
Modern JavaScript Sites
JavaScript Tips:
• Keep JavaScript bundles small (especially for mobile devices). Small bundles improve
speed, lower memory usage, and reduce CPU costs.
• Use server-side or pre-rendering to improve site speed, user experience,
and crawler accessibility.
• Stuck with client-side rendering? Try pre-rendering to help Googlebot get a
more immediate HTML snapshot of your page.
• Use Chrome Dev Tools “Performance” tab to test your runtime performance
and network “throttling” to simulate different device capabilities.
Explore Chrome DevTools’ Timeline & JavaScript Profiler to analyze the impact
of your JavaScript.
Thanks for
reading!

Mais conteúdo relacionado

Mais procurados

ARTDM 171, Week 15: Search Engine Optimization (SEO)
ARTDM 171, Week 15: Search Engine Optimization (SEO)ARTDM 171, Week 15: Search Engine Optimization (SEO)
ARTDM 171, Week 15: Search Engine Optimization (SEO)
Gilbert Guerrero
 
SEO-HIGH TRAFFIC ROUTING
SEO-HIGH TRAFFIC ROUTINGSEO-HIGH TRAFFIC ROUTING
SEO-HIGH TRAFFIC ROUTING
BUDNET
 
Social structured data is your friend brighton seo april 2013
Social structured data is your friend   brighton seo april 2013Social structured data is your friend   brighton seo april 2013
Social structured data is your friend brighton seo april 2013
Alex Moss
 

Mais procurados (20)

Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2
 
Basic SEO
Basic SEO Basic SEO
Basic SEO
 
SEO for developers (session 1)
SEO for developers (session 1)SEO for developers (session 1)
SEO for developers (session 1)
 
Optimizing Content with SEO and Social Media
Optimizing Content with SEO and Social MediaOptimizing Content with SEO and Social Media
Optimizing Content with SEO and Social Media
 
Points for Design and Development of SEO friendly websites
Points for Design and Development of SEO friendly websitesPoints for Design and Development of SEO friendly websites
Points for Design and Development of SEO friendly websites
 
http://kariwebsite.com/
http://kariwebsite.com/http://kariwebsite.com/
http://kariwebsite.com/
 
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...
 
Crawl the entire web in 10 minutes...and just 100€
Crawl the entire web  in 10 minutes...and just 100€Crawl the entire web  in 10 minutes...and just 100€
Crawl the entire web in 10 minutes...and just 100€
 
SEO Seminar Presentation
SEO Seminar PresentationSEO Seminar Presentation
SEO Seminar Presentation
 
ARTDM 171, Week 15: Search Engine Optimization (SEO)
ARTDM 171, Week 15: Search Engine Optimization (SEO)ARTDM 171, Week 15: Search Engine Optimization (SEO)
ARTDM 171, Week 15: Search Engine Optimization (SEO)
 
On page Optimization
On page OptimizationOn page Optimization
On page Optimization
 
Wordpress: A Tool for online Earning
Wordpress: A Tool for online EarningWordpress: A Tool for online Earning
Wordpress: A Tool for online Earning
 
Presentation: SEO Basics
Presentation: SEO BasicsPresentation: SEO Basics
Presentation: SEO Basics
 
Technical SEO - An Introduction to Core Aspects of Technical SEO Best-Practise
Technical SEO - An Introduction to Core Aspects of Technical SEO Best-PractiseTechnical SEO - An Introduction to Core Aspects of Technical SEO Best-Practise
Technical SEO - An Introduction to Core Aspects of Technical SEO Best-Practise
 
SEO-HIGH TRAFFIC ROUTING
SEO-HIGH TRAFFIC ROUTINGSEO-HIGH TRAFFIC ROUTING
SEO-HIGH TRAFFIC ROUTING
 
Technical SEO Best Practices
Technical SEO Best PracticesTechnical SEO Best Practices
Technical SEO Best Practices
 
Seo
SeoSeo
Seo
 
Search engine marketing
Search engine marketingSearch engine marketing
Search engine marketing
 
WordPress Durham - October 21 2020
WordPress Durham - October 21 2020WordPress Durham - October 21 2020
WordPress Durham - October 21 2020
 
Social structured data is your friend brighton seo april 2013
Social structured data is your friend   brighton seo april 2013Social structured data is your friend   brighton seo april 2013
Social structured data is your friend brighton seo april 2013
 

Semelhante a Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters

Semelhante a Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters (20)

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
 
The Technical SEO Full Course how to do
The Technical SEO  Full Course  how to doThe Technical SEO  Full Course  how to do
The Technical SEO Full Course how to do
 
Kickstart Your Technical SEO for WordPress
Kickstart Your Technical SEO for WordPressKickstart Your Technical SEO for WordPress
Kickstart Your Technical SEO for WordPress
 
On page optimization
On page optimizationOn page optimization
On page optimization
 
Meta tag creation
Meta tag creationMeta tag creation
Meta tag creation
 
Unleash your SEO powers to grow your business online
Unleash your SEO powers to grow your business onlineUnleash your SEO powers to grow your business online
Unleash your SEO powers to grow your business online
 
SEM.pptx
SEM.pptxSEM.pptx
SEM.pptx
 
Get the best Seo training in Pune at brainmine.
Get the best Seo training in Pune at brainmine.Get the best Seo training in Pune at brainmine.
Get the best Seo training in Pune at brainmine.
 
DIGITAL MARKETING.pptx
DIGITAL MARKETING.pptxDIGITAL MARKETING.pptx
DIGITAL MARKETING.pptx
 
Technical SEO Introduction
Technical SEO IntroductionTechnical SEO Introduction
Technical SEO Introduction
 
Digital marketing
Digital marketingDigital marketing
Digital marketing
 
13 Things Developers Forget When Launching Public Websites
13 Things Developers Forget When Launching Public Websites13 Things Developers Forget When Launching Public Websites
13 Things Developers Forget When Launching Public Websites
 
Technical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersTechnical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and Webmasters
 
Blog creationguide forestview
Blog creationguide forestviewBlog creationguide forestview
Blog creationguide forestview
 
Website Audit Presentation
Website Audit PresentationWebsite Audit Presentation
Website Audit Presentation
 
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
 
Website Visibility- Here is SEO Tips To Enhance Search Engine Ranking
Website Visibility- Here is SEO Tips To Enhance Search Engine RankingWebsite Visibility- Here is SEO Tips To Enhance Search Engine Ranking
Website Visibility- Here is SEO Tips To Enhance Search Engine Ranking
 
Website Development Guidelines
Website Development GuidelinesWebsite Development Guidelines
Website Development Guidelines
 
Most Important On Page SEO elements
Most Important On Page SEO elementsMost Important On Page SEO elements
Most Important On Page SEO elements
 
SEO cheat 2013 by Moz
SEO cheat 2013 by MozSEO cheat 2013 by Moz
SEO cheat 2013 by Moz
 

Mais de Miguel López Zuleta

Mais de Miguel López Zuleta (13)

Guía Global de Coronavirus: Conectando a las personas durante la crisis de CO...
Guía Global de Coronavirus: Conectando a las personas durante la crisis de CO...Guía Global de Coronavirus: Conectando a las personas durante la crisis de CO...
Guía Global de Coronavirus: Conectando a las personas durante la crisis de CO...
 
Ebook: Guía de Publicidad en TikTok
Ebook: Guía de Publicidad en TikTokEbook: Guía de Publicidad en TikTok
Ebook: Guía de Publicidad en TikTok
 
Social Media Trends 2020
Social Media Trends 2020Social Media Trends 2020
Social Media Trends 2020
 
Efecto del Covid19 en la Publicidad Online en Perú
Efecto del Covid19 en la Publicidad Online en PerúEfecto del Covid19 en la Publicidad Online en Perú
Efecto del Covid19 en la Publicidad Online en Perú
 
Impacto COVID -19 - en la búsqueda y el retail by Google
Impacto COVID -19 - en la búsqueda y el retail by Google Impacto COVID -19 - en la búsqueda y el retail by Google
Impacto COVID -19 - en la búsqueda y el retail by Google
 
Tendencias y Predicciones del Marketing Digital 2020
Tendencias y Predicciones del Marketing Digital 2020Tendencias y Predicciones del Marketing Digital 2020
Tendencias y Predicciones del Marketing Digital 2020
 
Estudio sobre Centennials en el mercado laboral peruano 2019 - ISIL
Estudio sobre Centennials en el mercado laboral peruano 2019 - ISILEstudio sobre Centennials en el mercado laboral peruano 2019 - ISIL
Estudio sobre Centennials en el mercado laboral peruano 2019 - ISIL
 
Top tendencias digitales 2019
Top tendencias digitales 2019Top tendencias digitales 2019
Top tendencias digitales 2019
 
Merkle Q2 2019 Digital Marketing Report Released
Merkle Q2 2019 Digital Marketing Report ReleasedMerkle Q2 2019 Digital Marketing Report Released
Merkle Q2 2019 Digital Marketing Report Released
 
Estudio de E-commerce 2019 - Perú [Datum]
Estudio de E-commerce 2019 - Perú [Datum]Estudio de E-commerce 2019 - Perú [Datum]
Estudio de E-commerce 2019 - Perú [Datum]
 
101 fórmulas para escribir títulos creativos y efectivos
101 fórmulas para escribir títulos creativos y efectivos 101 fórmulas para escribir títulos creativos y efectivos
101 fórmulas para escribir títulos creativos y efectivos
 
NEO Digital Strategy Framework | Digital Marketing
NEO Digital Strategy Framework | Digital MarketingNEO Digital Strategy Framework | Digital Marketing
NEO Digital Strategy Framework | Digital Marketing
 
Estado de Social Media en América Latina 2018
Estado de Social Media en América Latina 2018Estado de Social Media en América Latina 2018
Estado de Social Media en América Latina 2018
 

Último

Último (20)

Major SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain DigitalMajor SEO Trends in 2024 - Banyanbrain Digital
Major SEO Trends in 2024 - Banyanbrain Digital
 
The+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdfThe+State+of+Careers+In+Retention+Marketing-2.pdf
The+State+of+Careers+In+Retention+Marketing-2.pdf
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh Benday
 
Unlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich ManuscriptUnlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich Manuscript
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
 
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
 
Elevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfElevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdf
 
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of  Distribution Ad Network.pdfDistribution Ad Platform_ The Role of  Distribution Ad Network.pdf
Distribution Ad Platform_ The Role of Distribution Ad Network.pdf
 
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptxUnveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
 
Social media, ppt. Features, characteristics
Social media, ppt. Features, characteristicsSocial media, ppt. Features, characteristics
Social media, ppt. Features, characteristics
 
Martal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding OverviewMartal Group - B2B Lead Gen Agency - Onboarding Overview
Martal Group - B2B Lead Gen Agency - Onboarding Overview
 
Welcome to DataMetricks Consulting (1).pptx
Welcome to DataMetricks Consulting (1).pptxWelcome to DataMetricks Consulting (1).pptx
Welcome to DataMetricks Consulting (1).pptx
 
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night ServiceVIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
 
Discover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your LifestyleDiscover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your Lifestyle
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh Benday
 
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
 
How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their lives
 
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
 

Guía SEO 2020: Trucos y recomendaciones para desarrolladores y webmasters

  • 1. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 1 The Web Developer’s SEO Cheat Sheet Important HTML Elements These affect how you show up in search results HTTP Status Codes Webmaster Tools • Best between 50–60 characters • Important keywords near the beginning • Well-written descriptions influence click-through rates (CTR) • Best around 160 characters • Each description should be unique • Well-written descriptions influence click-through rates (CTR) • Providing image height and width improves page speed Hyperlinks • Use “nofollow” for paid links and distrusted content • Use “sponsored” for sponsored or compensated links • Use “ugc” for links within user-generated content • For image links, the alt attribute serves as the anchor text Title Tag <head> <title>Page Title</title> </head> Meta Description Tag <head> <meta name="description" content="This is an example."> </head> Image <img src="img/keyword.jpg" alt="descrip- tion of image" width="100" height="100"> Text Link <a href="https://www.example.com/webpage. html">Anchor Text</a> NoFollowed Link <a href="https://www.example.com/web- page.html" rel="nofollow"> Anchor Text</a> Image Link <a href="https://www.example.com/web- page.html"><img src="/img/keyword.jpg" alt="description of image" height="50" width="100"></a> 200 301 302 404 410 500 503 OK/Success Permanent redirect Temporary redirect Not found Gone (permanently removed) Server error Unavailable (retry later) Google Search Console search.google.com/search-console/about Bing Webmaster Tools bing.com/toolbox/webmaster Yandex webmaster.yandex.com Canonicalization • Preferred URL = https://example.com/ • Place the following in <head> section to indicate preferred URL: <link href="https://example.com/" rel= "canonical" /> More information at mz.cm/canonical Common Duplicate Homepage URLs 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 Best Practices “URLs” next page Best Practices Best Practices Get technical insights with Moz Pro: mz.cm/free
  • 2. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 2 Common URL Elements h t t p s : //s t o r e . ex a m p l e . c o m /c a t e g o r y/ key w o r d ? i d = 1 2 3 # t o p 1 82 3 4 5 6 7 1. Protocol 5. Subfolder/path 2. Subdomain 6. Page 3. Root domain 7. Parameter 4. Top-level domain 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 URLs Robots Exclusion Standard • Only Meta Robots and X-Robots-Tag remove URLs from search results • Don’t block CSS or JavaScript files with robots.txt Robots.txt Location: https://example.com/robots.txt User-agent: googlebot Disallow: /example.html Sitemap: https://example.com/sitemap.xml More information at mz.cm/robotstxt X-Robots-Tag Location: Sent in the HTTP headers X-Robots-Tag: noindex More information at mz.cm/x-robots Meta Robots Location: In the HTML <head> <meta name="robots" content="[PARAMETER]" /> More information at mz.cm/x-robots Important Parameters • Noindex (do not index) • Nofollow (do not follow links) • Noarchive (do not show cache) ...or combine (noindex, nofollow) If the robots <META> tag is not defined, the default is "INDEX, FOLLOW" Don’t block noindex URLs in robots.txt. They need to be crawled to be respected. Important User Agents For Robots.txt, Robots Meta Tags, and X-Robots-Tag: • Googlebot (can be used as default for most Google crawlers) • Googlebot-News • Googlebot-Image • AdsBot-Google • Mediapartners-Google (Mobile Adsense) or Mediapartners • Googlebot-Video • Bingbot • Yandexbot • Baiduspider • FacebookExternalHit • Applebot • Slurp • Twitterbot • Rogerbot • Dotbot • Wildcard for all robots: * Recommended: https://example.com/blog Less ideal: https://blog.example.com Best Practices Best Practices “Sitemap Syntax” next page
  • 3. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 3 Sitemap Syntax XML Sitemap Example: RSS and text sitemaps are also options <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.example.com/foo.html</loc> <lastmod>2019-06-04</lastmod> </url> </urlset> Sitemap Index File <?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>2019-01-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>https://example.com/sitemap2.xml.gz</loc> <lastmod>2019-01-01</lastmod> </sitemap> </sitemapindex> Default Location: https://example.com/sitemap.xml sitemap: parent tag for each sitemap loc: location of the sitemap lastmod: the last modified date * A sitemap cannot contain over 50,000 URLs. Large websites should use multiple sitemaps listed under a single sitemap index file. Other Common Sitemap Types: • Images • Video • News * Don't forget to submit your sitemap to Google via Google Search Console. Important Social Metadata Mobile There are 3 ways to implement a mobile website: • Responsive web design (adjusts for screen size) • Dynamic serving (serves different content based on a user’s device) Separate URLs (different URLs that serve mobile-optimized content). Not advised. Check to see if your site is mobile-friendly: mz.cm/mobile-friendly • Your mobile version should display the same content as your desktop site • Page title tags & meta descriptions should remain the same • Use the meta name="viewport" tag in the head of your page to tell the browser how to adjust the content. For example: <meta name="viewport" content= "width=device-width, initial-scale=1.0"> Increase speed by optimizing the critical rendering path, using HTTPS & HTTP/2, eliminating render-blocking resources, removing unused CSS, and deferring offscreen images. More information at mz.cm/mobile-seo Sample Meta Tag Template: "Article" Place this data between the <head> tags of your website. <!-- Required Open Graph data --> <meta property="og:title" content="Developer's Cheat Sheet to SEO" /> <meta property="og:type" content="article" /> <meta property="og:image" content="https://example. com/image.jpg" /> <meta property="og:url" content="https://example. com" /> <!-- Optional Open Graph data --> <meta property="og:audio" content="https://example. com/guide.mp3." /> <meta property="og:description" content="Description here." /> <meta property="og:site_name" content="Your Site Name, i.e. Moz" /> <meta property="og:locale" content="en_us" /> <meta property="og:video" content="https://example. com/guide.mp4" /> <meta property="fb:app_id" content="Your FB_APP_ID" /> <!-- Find additional markup on https://ogp.me --> <!-- Twitter Card data --> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@Moz"> <meta name="twitter:title" content="Title of content (max 70 characters)"> <meta name="twitter:description" content="Descrip- tion of content"> <meta name="twitter:image" content="https://example. com/unique-image.jpg"> Default to Open Graph Platforms that support Open Graph protocol include Facebook, Twitter, LinkedIn, and Pinterest. Optimal Image Sizing Twitter: • Minimum 144x144 px • No larger than 4096x4096 px or 5MB Facebook: • Minimum 600x600 px • Try to use images that are at least 1080 px in width More information at mz.cm/social-meta Best Practices Best Practices
  • 4. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 4 Rich Snippets and Structured Data Enhance search results and help search engines understand your content. Common Vocabularies: schema.org Popular Formats: JSON-LD, RDFa, Microdata Breadcrumbs <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { <---Repeat markup for additional list items---> "@type": "ListItem", "position": 1, "item": { "@id": "http://example.com/dinner", "name": "Dinner" } }, <---Additional list items here---> }] }</script> Reviews <script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "Review", "reviewBody": "The restaurant has great ambiance.", "itemReviewed": { "@type": "Restaurant", "name": "Fine Dining Establishment" }, "reviewRating": { "@type": "Rating", "ratingValue": 5, "worstRating": 1, "bestRating": 5, "reviewAspect": "Ambiance" } } </script> Review stars won’t show up in search results. Security When using target="_blank" to open a link in a new tab, make sure you're implementing rel="noopener" or rel="noreferrer" to avoid exposing your website to a surface attack. SSL certificates are table stakes today. Your website must have one. Lighthouse (mz.cm/lighthouse) helps to identify these vulnerabilities (and more) in the audit. Common Structured Data Types: • Local business • FAQ page • Person • How to More information at mz.cm/rich-snippets • Product • Article • Recipes • QApage “Targeting Multiple Languages” next page
  • 5. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 5 Targeting Multiple Languages Help search engines understand your location/language targets. Sitemap Version <?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> en es zh hi ja English Spanish Chinese Hindi Japanese Popular Languages US GB CN IN JP United States Great Britain China India Japan Popular Regions More region codes can be found at mz.cm/regcodes URL Structures for Country & Language Targeting ccTLDs (Country-Level Only): example.de Subdirectories with gTLDS: example.com/de/ Subdomains with gTLDS: de.example.com/ rel="alternate" hreflang="x" Annotate alternate language & region versions of content HTML version in <head> Each version must identify all versions, including itself <link rel="alternate" hreflang="x-default" href="http://example.com/" /> (Specifies Default) <link rel="alternate" hreflang="en" href="http://example.com/en/" /> (Specifies Lan- guage; English) <link rel="alternate" hreflang="en-GB" href="http://example.com/en-gb/" /> (Speci- fies Language + Region) More language codes can be found at mz.cm/langcodes “Performance” next page
  • 6. | The Web Developer’s SEO Cheat Sheet | v5.0 | moz.com | Copyright 2020 © Moz, Inc. 6 Image Optimization The most common culprit of poor page speed is images! Image Optimization Tips: • Compress your images & experiment with quality settings • Remove unnecessary image metadata • Explore lazy loading • Leverage SRCSET for different screen sizes • Ensure that your images have alt text • Invest in automated tools that can help ensure your image assets will always be optimized (example: mz.cm/imageopt) Performance Page Speed Page Speed Tips: • Compress and minify your code • Reduce page redirects • Remove render-blocking JavaScript • Use treeshaking • Leverage browser caching • Use a CDN • Leverage preconnect, prefetch and preload • Analyze your critical rendering path performance for additional opportunities in Chrome Dev Tools. Test your Page Speed with: Lighthouse: developers.google.com/web/tools/lighthouse PageSpeed Insights: developers.google.com/speed/pagespeed/insights GTmetrix: gtmetrix.com WebPageTest: webpagetest.org Modern JavaScript Sites JavaScript Tips: • Keep JavaScript bundles small (especially for mobile devices). Small bundles improve speed, lower memory usage, and reduce CPU costs. • Use server-side or pre-rendering to improve site speed, user experience, and crawler accessibility. • Stuck with client-side rendering? Try pre-rendering to help Googlebot get a more immediate HTML snapshot of your page. • Use Chrome Dev Tools “Performance” tab to test your runtime performance and network “throttling” to simulate different device capabilities. Explore Chrome DevTools’ Timeline & JavaScript Profiler to analyze the impact of your JavaScript. Thanks for reading!