Resources for IT Professionals > Forums Home > Webmaster Forums > Webmaster Tools > Robot.txt validator gives this error: Warning: 'sitemap' - tag isn't specified.
Ask a questionAsk a question
 

AnswerRobot.txt validator gives this error: Warning: 'sitemap' - tag isn't specified.

  • Wednesday, December 05, 2007 8:20 PMBioVam Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    When Using the Robot.txt validator it gives this warning: Warning: 'sitemap' - tag isn't specified.

     

    Exactly what is it looking for?

     

    Thanks for the help.

     

    Larry

Answers

All Replies

  • Friday, December 07, 2007 6:48 AMBioVam Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi again,

     

    Not sure if I was clear on this:

     

    When using your robots.txt validator, after one eneters the copy of the text, no matter what site the file is from it gives this warning message:

     

    Warning: 'sitemap' - tag isn't specified.

    ********************************************

    So the question, is your validator or rather the MSN bot now looking for some special 'sitemap tag' within the robots.txt file?

     

    Or is this an error of your online utility?

     

    I have never gotten this error from any on-line robots.txt file validator is why I am asking.

     

    Thanks for the help.

     

    Larry

  • Friday, December 07, 2007 8:23 PMUnveiled Bride Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I got the same error mesage today. Any ideas?

  • Friday, December 07, 2007 10:33 PMTravis Stone Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    Same for me - what the heck is a "sitemap" tag?

     

     

    !!!!! EDIT !!!!!!

     

    add this to the end of your robots.txt to get rid of that prompt:


    Sitemap: http://yourwebsite.com/sitemap.xml

     

    Replace my dummy path with the path to your website sitemap, and presto! no more complaining from the validator. I've still never seen a "Sitemap" tag before.... : P

     

     

    Trav

  • Sunday, December 09, 2007 4:00 AMJeremiah Andrick Microsoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    Thanks Trav,

     

    You're right the way to avoid seeing this message is to add the string.  

     

    Sitemap: http://yourwebsite.com/sitemap.xml

     

    You can find information on this tag at:

     

    http://www.sitemaps.org/protocol.php#informing

     

    Jeremiah

  • Tuesday, September 09, 2008 5:46 AMRaheell Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Specifying the Sitemap location in your robots.txt file:

     

    You can specify the location of the Sitemap using a robots.txt file. To do this, simply add the following line:

    Sitemap: <sitemap_location>The <sitemap_location> should be the complete URL to the Sitemap, such as:

    http://www.example.com/sitemap.xml

    http://www.compaqbuys.com/sitemap.xml

    http://www.buyibmparts.com/sitemap.xml

    http://www.memory4less.net/sitemap.xml

     

    This directive is independent of the user-agent line, so it doesn't matter where you place it in your file. If you have a Sitemap index file, you can include the location of just that file. You don't need to list each individual Sitemap listed in the index file.

     

    You can specify more than one Sitemap file per robots.txt file.

     

    Sitemap: <sitemap1_location>
    Sitemap: <sitemap2_location>

  • Wednesday, November 19, 2008 4:15 PMptannjr Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I put this

    1. User-Agent: *
    2. Allow: /



    I got this

    Line #3: http://www.ocalacaraudio.com/sitemap.xml
    Warning: MSNBOT doesn't support this tag.
    **************************************************
    Warning: 'sitemap' - tag isn't specified.
    **************************************************

  • Wednesday, June 03, 2009 2:06 AMLeo000001 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    You may add "sitemap:" tag before your url.

    User-Agent: *
    Allow: /
    sitemap: http://www.ocalacaraudio.com/sitemap.xml
    • Edited byLeo000001 Wednesday, June 03, 2009 2:11 AMtypo
    • Proposed As Answer byLeo000001 Wednesday, June 03, 2009 2:11 AM
    • Edited byLeo000001 Wednesday, June 03, 2009 2:07 AM
    • Edited byLeo000001 Wednesday, June 03, 2009 2:09 AMtypo
    • Edited byLeo000001 Wednesday, June 03, 2009 2:08 AM
    • Edited byLeo000001 Wednesday, June 03, 2009 2:10 AMTypo
    • Edited byLeo000001 Wednesday, June 03, 2009 2:08 AM
    •