SlideShare une entreprise Scribd logo
1  sur  18
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

Contenu connexe

Tendances

Seo strategy guide 2019
Seo strategy guide 2019Seo strategy guide 2019
Seo strategy guide 2019Sanjay Patwal
 
BrightonSEO Structured Data by Alexis Sanders
BrightonSEO Structured Data by Alexis SandersBrightonSEO Structured Data by Alexis Sanders
BrightonSEO Structured Data by Alexis SandersAlexis Sanders
 
SEO Plan For Beginners - Initial Site Analysis - SEO Toolkit
SEO Plan For Beginners - Initial Site Analysis - SEO ToolkitSEO Plan For Beginners - Initial Site Analysis - SEO Toolkit
SEO Plan For Beginners - Initial Site Analysis - SEO Toolkitarvindashok06
 
SEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive GuideSEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive GuideAdam Audette
 
How Does Organic SEO Work?
How Does Organic SEO Work?How Does Organic SEO Work?
How Does Organic SEO Work?ITS-SEO.com
 
Technical SEO Presentation
Technical SEO PresentationTechnical SEO Presentation
Technical SEO PresentationJoe Robison
 
On page SEO Optimization & it's Techniques
On page SEO Optimization & it's TechniquesOn page SEO Optimization & it's Techniques
On page SEO Optimization & it's TechniquesPratibha Maurya
 
Core Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionCore Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionTAC Marketing Group
 
SEO Audit Example & Website Review
SEO Audit Example & Website ReviewSEO Audit Example & Website Review
SEO Audit Example & Website ReviewBrett Farmiloe
 
learn seo, seo marketing
learn seo, seo marketinglearn seo, seo marketing
learn seo, seo marketingrsayyad88
 
SEO-off page optimization technique
SEO-off page optimization technique SEO-off page optimization technique
SEO-off page optimization technique shrikant87
 
International SEO Strategies
International SEO Strategies International SEO Strategies
International SEO Strategies Mariel Martinez
 

Tendances (20)

Seo strategy guide 2019
Seo strategy guide 2019Seo strategy guide 2019
Seo strategy guide 2019
 
BrightonSEO Structured Data by Alexis Sanders
BrightonSEO Structured Data by Alexis SandersBrightonSEO Structured Data by Alexis Sanders
BrightonSEO Structured Data by Alexis Sanders
 
SEO Plan For Beginners - Initial Site Analysis - SEO Toolkit
SEO Plan For Beginners - Initial Site Analysis - SEO ToolkitSEO Plan For Beginners - Initial Site Analysis - SEO Toolkit
SEO Plan For Beginners - Initial Site Analysis - SEO Toolkit
 
SEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive GuideSEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive Guide
 
Introduction to google adwords
Introduction to google adwordsIntroduction to google adwords
Introduction to google adwords
 
How Does Organic SEO Work?
How Does Organic SEO Work?How Does Organic SEO Work?
How Does Organic SEO Work?
 
Technical SEO Presentation
Technical SEO PresentationTechnical SEO Presentation
Technical SEO Presentation
 
Meta tags
Meta tagsMeta tags
Meta tags
 
SEO proposal
SEO proposalSEO proposal
SEO proposal
 
SEO Robots txt FILE
SEO Robots txt FILESEO Robots txt FILE
SEO Robots txt FILE
 
On page SEO Optimization & it's Techniques
On page SEO Optimization & it's TechniquesOn page SEO Optimization & it's Techniques
On page SEO Optimization & it's Techniques
 
Core Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionCore Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay Attention
 
SEO Audit Example & Website Review
SEO Audit Example & Website ReviewSEO Audit Example & Website Review
SEO Audit Example & Website Review
 
6 Months SEO Plan for an ecommerce firm
6 Months SEO Plan for an ecommerce firm6 Months SEO Plan for an ecommerce firm
6 Months SEO Plan for an ecommerce firm
 
learn seo, seo marketing
learn seo, seo marketinglearn seo, seo marketing
learn seo, seo marketing
 
Seo for-content
Seo for-contentSeo for-content
Seo for-content
 
Seo
SeoSeo
Seo
 
SEO-off page optimization technique
SEO-off page optimization technique SEO-off page optimization technique
SEO-off page optimization technique
 
International SEO Strategies
International SEO Strategies International SEO Strategies
International SEO Strategies
 
SEO
SEOSEO
SEO
 

En vedette

SEO for beginners
SEO for beginnersSEO for beginners
SEO for beginnersSocialab
 
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 SEORahul Kumar
 
BlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEOBlogPaws 2014 - Beginner SEO
BlogPaws 2014 - Beginner SEOMatt Beswick
 
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 AgencyCathie 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 ClassesRachit 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 WorkshopJohnBolyard.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 implementationJérôme Verstrynge
 
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.pptxGeromme 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 VowlesAdam Vowles
 
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 StrategyJonathon Colman
 

En vedette (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
 

Similaire à XML Sitemap and Robots.TXT Guide for SEO Beginners

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 TechniquesNasir 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 tagParidhi 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 SeeLets Get Digital
 
Robots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml CreationRobots.txt and Sitemap.xml Creation
Robots.txt and Sitemap.xml CreationJahid Hasan
 
Gabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File ExampleGabriel Gayhart - XML Pointer File Example
Gabriel Gayhart - XML Pointer File Examplelinkedinsys
 
Top 10 Onsite SEO Practices
Top 10 Onsite SEO PracticesTop 10 Onsite SEO Practices
Top 10 Onsite SEO PracticesCharlie 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 sitemapsLaurent Müllender
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website OptimizationGerard 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 RankingRajesh Magar
 
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 & ATGVignesh sitaraman
 
Seo Bootcamp for Small Buisinesses
 Seo Bootcamp for Small Buisinesses Seo Bootcamp for Small Buisinesses
Seo Bootcamp for Small BuisinessesCharlie Kalech
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and DevelopmentShagor Ahmed
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and DeploymentBG Java EE Course
 
SEO presentation By Dang HA - ECM team
SEO presentation By Dang HA - ECM teamSEO presentation By Dang HA - ECM team
SEO presentation By Dang HA - ECM teamThuy_Dang
 

Similaire à 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
 
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
 
SEO presentation By Dang HA - ECM team
SEO presentation By Dang HA - ECM teamSEO presentation By Dang HA - ECM team
SEO presentation By Dang HA - ECM team
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

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