SlideShare a Scribd company logo
robots.txt and sitemap.xml

PRACTICAL GUIDE FOR SEO BEGINNERS
SEO Beginners

ROBOTS.TXT
WHAT ARE WEB ROBOTS?

   Web Robots (also known as Web Wanderers,
    Crawlers, or Spiders), are programs that
    traverse the Web automatically. Search engines
    such as Google use them to index the web
    content, spammers use them to scan for email
    addresses, and they have many other uses.
WHAT IS ROBOTS.TXT?

   Robots.txt is a plain text file that you upload to
    the root directory of your site. Once the web
    spiders (ants, bots, indexers) that index your
    webpage search your site, they first look at that
    text file and process it. Put differently, robots.txt
    says to the spider which pages to crawl.
THE SIMPLEST VERSION OF ROBOTS.TXT
User-agent: *
Disallow:

   The first line “user agent asterisk” indicates
    that the following lines apply to all agents.
    Space after "disallow:" means that nothing is
    limited. This robots.txt file does nothing it
    allows all types of robots to see everything on
    the site.
SOME MORE EXAMPLES OF ROBOTS.TXT
   To exclude all robots from the entire server
    User-agent: *
    Disallow: /

   To allow all robots complete access
    User-agent: *
    Disallow:

    (or just create an empty "/robots.txt" file, or don't use
      one at all)
SOME MORE EXAMPLES OF ROBOTS.TXT
   To exclude all robots from part of the server
    User-agent: *
    Disallow: /cgi-bin/
    Disallow: /tmp/
    Disallow: /~joe/

   To exclude a single robot
    User-agent: BadBot
    Disallow: /
SOME MORE EXAMPLES OF ROBOTS.TXT
   To allow a single robot
    User-agent: Googlebot
    Disallow:

    User-agent: *
    Disallow: /

   You can disallow single pages:
    User-agent: *
    Disallow: /~joe/junk.html
    Disallow: /~joe/foo.html
    Disallow: /~joe/bar.html
SOME MORE EXAMPLES OF ROBOTS.TXT

   You can specify the Sitemap location in your
    robots.txt file

    User-agent: *
    Disallow: /

    Sitemap: http://www.example.com/sitemap.xml
ABOUT THE ROBOTS <META> TAG
   You can use a special HTML <META> tag to tell
    robots not to index the content of a page, and/or
    not scan it for links to follow.

    <html>
    <head>
    <title>...</title>
    <META NAME="ROBOTS"
      CONTENT="NOINDEX, NOFOLLOW">
    </head>
SEO Beginners

SITEMAP.XML
WHAT ARE SITEMAPS?

 Tells search engines which pages are available
  for crawling.
 A Sitemap is an XML file that lists URLs for a
  site along with additional metadata about each
  URL.
     when it was last updated
     how often it usually changes

     how important it is, relative to other URLs in the site
SITEMAPS XML FORMAT
   The Sitemap must:
     Begin with an opening <urlset> tag and end with a
      closing </urlset> tag.
     Specify the namespace (protocol standard) within the
      <urlset> tag.
     Include a <url> entry for each URL, as a parent XML
      tag.
     Include a <loc> child entry for each <url> parent tag.
     All URLs in a Sitemap must be from a single host, such
      as www.example.com or store.example.com.
     Sitemap file must be UTF-8 encoded
     No more than 50,000 URLs
     File must not be larger than 10MB
SAMPLE XML SITEMAP
   <?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>2005-01-01</lastmod>

      <changefreq>monthly</changefreq>

      <priority>0.8</priority>

    </url>

   </urlset>
USING SITEMAP INDEX FILES (TO GROUP
MULTIPLE SITEMAP FILES)

   The Sitemap index file must:
       Begin with an opening <sitemapindex> tag and end with a
        closing </sitemapindex> tag.
       Include a <sitemap> entry for each Sitemap as a parent
        XML tag.
       Include a <loc> child entry for each <sitemap> parent tag.
       The optional <lastmod> tag is also available for Sitemap
        index files.
   Note: A Sitemap index file can only specify Sitemaps
    that are found on the same site as the Sitemap index
    file. For example,
    http://www.yoursite.com/sitemap_index.xml can include
    Sitemaps on http://www.yoursite.com but not on
    http://www.example.com or
    http://yourhost.yoursite.com.
SAMPLE XML SITEMAP INDEX
   <?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>
SITEMAP FILE LOCATION

   The location of a Sitemap file determines the
    set of URLs that can be included in that
    Sitemap. A Sitemap file located at
    http://example.com/catalog/sitemap.xml can
    include     any     URLs      starting   with
    http://example.com/catalog/ but can not
    include       URLs        starting       with
    http://example.com/images/.
THANK YOU
                                   ADITYA TODAWAL
                         PROJECT COORDINATOR (SEO)
SEARCH RESULTS MEDIA – INTERNET MARKETING TORONTO

More Related Content

What's hot

Basic SEO Presentation
Basic SEO PresentationBasic SEO Presentation
Basic SEO Presentation
Paul Kortman
 
WordPress SEO & Optimisation
WordPress SEO & OptimisationWordPress SEO & Optimisation
WordPress SEO & Optimisation
Joost de Valk
 
Seo
SeoSeo
Google Search Presentation
Google Search PresentationGoogle Search Presentation
Google Search Presentation
WFL Tech Trainer, Jen Farr
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
tradocaj
 
Social Media Optimisation ppt
Social Media Optimisation pptSocial Media Optimisation ppt
Social Media Optimisation ppt
SoftProdigy - We know software!
 
Introduction to SEO Presentation
Introduction to SEO PresentationIntroduction to SEO Presentation
Introduction to SEO Presentation
7thingsmedia
 
Facebook For Business
Facebook For BusinessFacebook For Business
Facebook For Business
Firebelly Marketing
 
learn seo, seo marketing
learn seo, seo marketinglearn seo, seo marketing
learn seo, seo marketing
rsayyad88
 
SEO - a brief introduction
SEO - a brief introductionSEO - a brief introduction
SEO - a brief introduction
Becky McOwen-Banks
 
OFF PAGE SEO
OFF PAGE SEOOFF PAGE SEO
OFF PAGE SEO
KetkiDeshpande10
 
SEO-off page optimization technique
SEO-off page optimization technique SEO-off page optimization technique
SEO-off page optimization technique
shrikant87
 
Introduction to digital marketing - mylivpro
Introduction to digital marketing - mylivproIntroduction to digital marketing - mylivpro
Introduction to digital marketing - mylivpro
Vedant Khandelwal
 
Benefits of Search engine optimization
Benefits of Search engine optimizationBenefits of Search engine optimization
Benefits of Search engine optimization
Abdullah Khosa
 
SEO Presentation
SEO PresentationSEO Presentation
SEO Presentation
Visionary Marketing
 
On page seo ppt
On page seo ppt On page seo ppt
On page seo ppt
PRAJNAPARAMITAJENA6
 
Inroduction to Google Search Console
Inroduction to Google Search ConsoleInroduction to Google Search Console
Inroduction to Google Search Console
Kevin Getch
 
On-Page & Off-Page SEO Check List
On-Page & Off-Page SEO Check ListOn-Page & Off-Page SEO Check List
On-Page & Off-Page SEO Check List
Nasir Uddin Shamim
 
What is seo
What is seoWhat is seo
What is seo
Faizann20
 
Website Analysis Report : SEO, CRO Website Audit.
Website Analysis Report : SEO, CRO Website Audit.Website Analysis Report : SEO, CRO Website Audit.
Website Analysis Report : SEO, CRO Website Audit.
Tarak Turki
 

What's hot (20)

Basic SEO Presentation
Basic SEO PresentationBasic SEO Presentation
Basic SEO Presentation
 
WordPress SEO & Optimisation
WordPress SEO & OptimisationWordPress SEO & Optimisation
WordPress SEO & Optimisation
 
Seo
SeoSeo
Seo
 
Google Search Presentation
Google Search PresentationGoogle Search Presentation
Google Search Presentation
 
Google Analytics Overview
Google Analytics OverviewGoogle Analytics Overview
Google Analytics Overview
 
Social Media Optimisation ppt
Social Media Optimisation pptSocial Media Optimisation ppt
Social Media Optimisation ppt
 
Introduction to SEO Presentation
Introduction to SEO PresentationIntroduction to SEO Presentation
Introduction to SEO Presentation
 
Facebook For Business
Facebook For BusinessFacebook For Business
Facebook For Business
 
learn seo, seo marketing
learn seo, seo marketinglearn seo, seo marketing
learn seo, seo marketing
 
SEO - a brief introduction
SEO - a brief introductionSEO - a brief introduction
SEO - a brief introduction
 
OFF PAGE SEO
OFF PAGE SEOOFF PAGE SEO
OFF PAGE SEO
 
SEO-off page optimization technique
SEO-off page optimization technique SEO-off page optimization technique
SEO-off page optimization technique
 
Introduction to digital marketing - mylivpro
Introduction to digital marketing - mylivproIntroduction to digital marketing - mylivpro
Introduction to digital marketing - mylivpro
 
Benefits of Search engine optimization
Benefits of Search engine optimizationBenefits of Search engine optimization
Benefits of Search engine optimization
 
SEO Presentation
SEO PresentationSEO Presentation
SEO Presentation
 
On page seo ppt
On page seo ppt On page seo ppt
On page seo ppt
 
Inroduction to Google Search Console
Inroduction to Google Search ConsoleInroduction to Google Search Console
Inroduction to Google Search Console
 
On-Page & Off-Page SEO Check List
On-Page & Off-Page SEO Check ListOn-Page & Off-Page SEO Check List
On-Page & Off-Page SEO Check List
 
What is seo
What is seoWhat is seo
What is seo
 
Website Analysis Report : SEO, CRO Website Audit.
Website Analysis Report : SEO, CRO Website Audit.Website Analysis Report : SEO, CRO Website Audit.
Website Analysis Report : SEO, CRO Website Audit.
 

Viewers also liked

SEO for beginners
SEO for beginnersSEO for beginners
SEO for beginners
Socialab
 
SEO Guide for Beginners, The Beginner Guide to SEO
SEO Guide for Beginners, The Beginner Guide to SEOSEO Guide for Beginners, The Beginner Guide to SEO
SEO Guide for Beginners, The Beginner Guide to SEO
Rahul Kumar
 
BlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEOBlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEO
Matt Beswick
 
Basic seo rules
Basic seo rulesBasic seo rules
Basic seo rules
Aldrin Nepomuceno
 
SEO for Beginners by Ducktoes SEO Agency
SEO for Beginners by Ducktoes SEO AgencySEO for Beginners by Ducktoes SEO Agency
SEO for Beginners by Ducktoes SEO Agency
Cathie Dunklee-Donnell
 
Digital Marketing Training Noida - SEO, PPC, SMO Classes
Digital Marketing Training Noida - SEO, PPC, SMO ClassesDigital Marketing Training Noida - SEO, PPC, SMO Classes
Digital Marketing Training Noida - SEO, PPC, SMO Classes
Rachit Gupta
 
Beginning and Advanced SEO for Beginners Workshop
Beginning and Advanced SEO for Beginners WorkshopBeginning and Advanced SEO for Beginners Workshop
Beginning and Advanced SEO for Beginners Workshop
JohnBolyard.com
 
Your first sitemap.xml and robots.txt implementation
Your first sitemap.xml and robots.txt implementationYour first sitemap.xml and robots.txt implementation
Your first sitemap.xml and robots.txt implementation
Jérôme Verstrynge
 
Basic SEO Lecture Presentation
Basic SEO Lecture PresentationBasic SEO Lecture Presentation
Basic SEO Lecture Presentation
Marie Claire Ponsaran
 
What is SEO? - Basic SEO Guide for Beginners.pptx
What is SEO? - Basic SEO Guide for Beginners.pptxWhat is SEO? - Basic SEO Guide for Beginners.pptx
What is SEO? - Basic SEO Guide for Beginners.pptx
Geromme Talampas
 
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
TechSoup
 
Beginners Guide To SEO - Adam Vowles
Beginners Guide To SEO - Adam VowlesBeginners Guide To SEO - Adam Vowles
Beginners Guide To SEO - Adam Vowles
Adam Vowles
 
SEO - A Beginners' Guide
SEO - A Beginners' GuideSEO - A Beginners' Guide
SEO - A Beginners' Guide
Ethinos Digital Marketing
 
How to Build SEO into Content Strategy
How to Build SEO into Content StrategyHow to Build SEO into Content Strategy
How to Build SEO into Content Strategy
Jonathon Colman
 
PPT - Powerful Presentation Techniques
PPT - Powerful Presentation TechniquesPPT - Powerful Presentation Techniques
PPT - Powerful Presentation Techniques
University of Wisconsin Milwaukee
 

Viewers also liked (15)

SEO for beginners
SEO for beginnersSEO for beginners
SEO for beginners
 
SEO Guide for Beginners, The Beginner Guide to SEO
SEO Guide for Beginners, The Beginner Guide to SEOSEO Guide for Beginners, The Beginner Guide to SEO
SEO Guide for Beginners, The Beginner Guide to SEO
 
BlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEOBlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEO
 
Basic seo rules
Basic seo rulesBasic seo rules
Basic seo rules
 
SEO for Beginners by Ducktoes SEO Agency
SEO for Beginners by Ducktoes SEO AgencySEO for Beginners by Ducktoes SEO Agency
SEO for Beginners by Ducktoes SEO Agency
 
Digital Marketing Training Noida - SEO, PPC, SMO Classes
Digital Marketing Training Noida - SEO, PPC, SMO ClassesDigital Marketing Training Noida - SEO, PPC, SMO Classes
Digital Marketing Training Noida - SEO, PPC, SMO Classes
 
Beginning and Advanced SEO for Beginners Workshop
Beginning and Advanced SEO for Beginners WorkshopBeginning and Advanced SEO for Beginners Workshop
Beginning and Advanced SEO for Beginners Workshop
 
Your first sitemap.xml and robots.txt implementation
Your first sitemap.xml and robots.txt implementationYour first sitemap.xml and robots.txt implementation
Your first sitemap.xml and robots.txt implementation
 
Basic SEO Lecture Presentation
Basic SEO Lecture PresentationBasic SEO Lecture Presentation
Basic SEO Lecture Presentation
 
What is SEO? - Basic SEO Guide for Beginners.pptx
What is SEO? - Basic SEO Guide for Beginners.pptxWhat is SEO? - Basic SEO Guide for Beginners.pptx
What is SEO? - Basic SEO Guide for Beginners.pptx
 
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
Webinar - SEO for Beginners: Simple Steps for Nonprofits and Libraries - 2016...
 
Beginners Guide To SEO - Adam Vowles
Beginners Guide To SEO - Adam VowlesBeginners Guide To SEO - Adam Vowles
Beginners Guide To SEO - Adam Vowles
 
SEO - A Beginners' Guide
SEO - A Beginners' GuideSEO - A Beginners' Guide
SEO - A Beginners' Guide
 
How to Build SEO into Content Strategy
How to Build SEO into Content StrategyHow to Build SEO into Content Strategy
How to Build SEO into Content Strategy
 
PPT - Powerful Presentation Techniques
PPT - Powerful Presentation TechniquesPPT - Powerful Presentation Techniques
PPT - Powerful Presentation Techniques
 

Similar to XML Sitemap and Robots.TXT Guide for SEO Beginners

Sitemap comparison
Sitemap comparisonSitemap comparison
Sitemap comparison
lukewright418
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheetjeetututeja
 
Google Sitemap and robots.txt Setup Techniques
Google Sitemap and robots.txt Setup TechniquesGoogle Sitemap and robots.txt Setup Techniques
Google Sitemap and robots.txt Setup Techniques
Nasir Uddin Shamim
 
Difference between robots txt file, meta robots, X-robots tag
Difference between robots txt file, meta robots, X-robots tagDifference between robots txt file, meta robots, X-robots tag
Difference between robots txt file, meta robots, X-robots tag
Paridhi Infotech
 
Robots.txt - Control What Crawler Can See
Robots.txt - Control What Crawler Can SeeRobots.txt - Control What Crawler Can See
Robots.txt - Control What Crawler Can See
Lets Get Digital
 
Robots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml CreationRobots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml Creation
Jahid Hasan
 
Gabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File ExampleGabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File Example
linkedinsys
 
Top 10 Onsite SEO Practices
Top 10 Onsite SEO PracticesTop 10 Onsite SEO Practices
Top 10 Onsite SEO Practices
Charlie Kalech
 
Canonical and robotos (2)
Canonical and robotos (2)Canonical and robotos (2)
Canonical and robotos (2)panchaloha
 
Advanced SEO through multiple XML sitemaps
Advanced SEO through multiple XML sitemapsAdvanced SEO through multiple XML sitemaps
Advanced SEO through multiple XML sitemaps
Laurent Müllender
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
Gerard Sychay
 
Controlling crawler for better Indexation and Ranking
Controlling crawler for better Indexation and RankingControlling crawler for better Indexation and Ranking
Controlling crawler for better Indexation and Ranking
Rajesh Magar
 
SEO Robots txt FILE
SEO Robots txt FILESEO Robots txt FILE
SEO Robots txt FILE
Priyanka Bhatia
 
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
 
Seo Bootcamp for Small Buisinesses
 Seo Bootcamp for Small Buisinesses Seo Bootcamp for Small Buisinesses
Seo Bootcamp for Small Buisinesses
Charlie Kalech
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
BG Java EE Course
 

Similar to XML Sitemap and Robots.TXT Guide for SEO Beginners (20)

Sitemap comparison
Sitemap comparisonSitemap comparison
Sitemap comparison
 
Great+Seo+Cheatsheet
Great+Seo+CheatsheetGreat+Seo+Cheatsheet
Great+Seo+Cheatsheet
 
Google Sitemap and robots.txt Setup Techniques
Google Sitemap and robots.txt Setup TechniquesGoogle Sitemap and robots.txt Setup Techniques
Google Sitemap and robots.txt Setup Techniques
 
Difference between robots txt file, meta robots, X-robots tag
Difference between robots txt file, meta robots, X-robots tagDifference between robots txt file, meta robots, X-robots tag
Difference between robots txt file, meta robots, X-robots tag
 
Robots.txt - Control What Crawler Can See
Robots.txt - Control What Crawler Can SeeRobots.txt - Control What Crawler Can See
Robots.txt - Control What Crawler Can See
 
Robots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml CreationRobots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml Creation
 
Gabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File ExampleGabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File Example
 
Top 10 Onsite SEO Practices
Top 10 Onsite SEO PracticesTop 10 Onsite SEO Practices
Top 10 Onsite SEO Practices
 
Canonical and robotos (2)
Canonical and robotos (2)Canonical and robotos (2)
Canonical and robotos (2)
 
Advanced SEO through multiple XML sitemaps
Advanced SEO through multiple XML sitemapsAdvanced SEO through multiple XML sitemaps
Advanced SEO through multiple XML sitemaps
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
 
Controlling crawler for better Indexation and Ranking
Controlling crawler for better Indexation and RankingControlling crawler for better Indexation and Ranking
Controlling crawler for better Indexation and Ranking
 
SEO Robots txt FILE
SEO Robots txt FILESEO Robots txt FILE
SEO Robots txt FILE
 
Article19
Article19Article19
Article19
 
xml sitemap
xml sitemapxml sitemap
xml sitemap
 
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
 
Seo Bootcamp for Small Buisinesses
 Seo Bootcamp for Small Buisinesses Seo Bootcamp for Small Buisinesses
Seo Bootcamp for Small Buisinesses
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
T5 Oli Aro
T5 Oli AroT5 Oli Aro
T5 Oli Aro
 

Recently uploaded

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
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
 
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
 
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
 
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
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
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
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
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
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
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
 
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 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
 
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
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
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)
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
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...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

XML Sitemap and Robots.TXT Guide for SEO Beginners

  • 1. robots.txt and sitemap.xml PRACTICAL GUIDE FOR SEO BEGINNERS
  • 3. WHAT ARE WEB ROBOTS?  Web Robots (also known as Web Wanderers, Crawlers, or Spiders), are programs that traverse the Web automatically. Search engines such as Google use them to index the web content, spammers use them to scan for email addresses, and they have many other uses.
  • 4. WHAT IS ROBOTS.TXT?  Robots.txt is a plain text file that you upload to the root directory of your site. Once the web spiders (ants, bots, indexers) that index your webpage search your site, they first look at that text file and process it. Put differently, robots.txt says to the spider which pages to crawl.
  • 5. THE SIMPLEST VERSION OF ROBOTS.TXT User-agent: * Disallow:  The first line “user agent asterisk” indicates that the following lines apply to all agents. Space after "disallow:" means that nothing is limited. This robots.txt file does nothing it allows all types of robots to see everything on the site.
  • 6. SOME MORE EXAMPLES OF ROBOTS.TXT  To exclude all robots from the entire server User-agent: * Disallow: /  To allow all robots complete access User-agent: * Disallow: (or just create an empty "/robots.txt" file, or don't use one at all)
  • 7. SOME MORE EXAMPLES OF ROBOTS.TXT  To exclude all robots from part of the server User-agent: * Disallow: /cgi-bin/ Disallow: /tmp/ Disallow: /~joe/  To exclude a single robot User-agent: BadBot Disallow: /
  • 8. SOME MORE EXAMPLES OF ROBOTS.TXT  To allow a single robot User-agent: Googlebot Disallow: User-agent: * Disallow: /  You can disallow single pages: User-agent: * Disallow: /~joe/junk.html Disallow: /~joe/foo.html Disallow: /~joe/bar.html
  • 9. SOME MORE EXAMPLES OF ROBOTS.TXT  You can specify the Sitemap location in your robots.txt file User-agent: * Disallow: / Sitemap: http://www.example.com/sitemap.xml
  • 10. ABOUT THE ROBOTS <META> TAG  You can use a special HTML <META> tag to tell robots not to index the content of a page, and/or not scan it for links to follow. <html> <head> <title>...</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> </head>
  • 12. WHAT ARE SITEMAPS?  Tells search engines which pages are available for crawling.  A Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL.  when it was last updated  how often it usually changes  how important it is, relative to other URLs in the site
  • 13. SITEMAPS XML FORMAT  The Sitemap must:  Begin with an opening <urlset> tag and end with a closing </urlset> tag.  Specify the namespace (protocol standard) within the <urlset> tag.  Include a <url> entry for each URL, as a parent XML tag.  Include a <loc> child entry for each <url> parent tag.  All URLs in a Sitemap must be from a single host, such as www.example.com or store.example.com.  Sitemap file must be UTF-8 encoded  No more than 50,000 URLs  File must not be larger than 10MB
  • 14. SAMPLE XML SITEMAP  <?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>2005-01-01</lastmod>  <changefreq>monthly</changefreq>  <priority>0.8</priority>  </url>  </urlset>
  • 15. USING SITEMAP INDEX FILES (TO GROUP MULTIPLE SITEMAP FILES)  The Sitemap index file must:  Begin with an opening <sitemapindex> tag and end with a closing </sitemapindex> tag.  Include a <sitemap> entry for each Sitemap as a parent XML tag.  Include a <loc> child entry for each <sitemap> parent tag.  The optional <lastmod> tag is also available for Sitemap index files.  Note: A Sitemap index file can only specify Sitemaps that are found on the same site as the Sitemap index file. For example, http://www.yoursite.com/sitemap_index.xml can include Sitemaps on http://www.yoursite.com but not on http://www.example.com or http://yourhost.yoursite.com.
  • 16. SAMPLE XML SITEMAP INDEX  <?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>
  • 17. SITEMAP FILE LOCATION  The location of a Sitemap file determines the set of URLs that can be included in that Sitemap. A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/.
  • 18. THANK YOU ADITYA TODAWAL PROJECT COORDINATOR (SEO) SEARCH RESULTS MEDIA – INTERNET MARKETING TORONTO