SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Basic WordPress for Beginner ppt
Basic WordPress for Beginner pptBasic WordPress for Beginner ppt
Basic WordPress for Beginner ppt
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Website analysis Sample Report
Website analysis  Sample ReportWebsite analysis  Sample Report
Website analysis Sample Report
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
Html
HtmlHtml
Html
 
Meta tags
Meta tagsMeta tags
Meta tags
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training Presentation
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1
 
Types of Web Browser
Types of Web BrowserTypes of Web Browser
Types of Web Browser
 
Website design with Wordpress ppt
Website design with Wordpress pptWebsite design with Wordpress ppt
Website design with Wordpress ppt
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html
HtmlHtml
Html
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Introduction to Web Development
Introduction to Web DevelopmentIntroduction to Web Development
Introduction to Web Development
 
Introduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design ApplicationIntroduce Bootstrap 3 to Develop Responsive Design Application
Introduce Bootstrap 3 to Develop Responsive Design Application
 
Web development presentation
Web development presentationWeb development presentation
Web development presentation
 
Java script
Java scriptJava script
Java script
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
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
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Kürzlich hochgeladen (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

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