Solved

Define Sitemap in Robots.txt or Google Webmaster?

Posted on 2009-03-31
3
954 Views
Last Modified: 2013-12-08
Hi,

Does it matter if my sitemap is defined in Robots.txt and uploaded to Google Webmaster as well?

Thanks

0
Comment
Question by:chriscounter07
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Sinoj Sebastian
ID: 24027500
what you mean by "sitemap is defined in Robots.txt"?
sitemap file is blocked using Robots.txt ?
0
 

Author Comment

by:chriscounter07
ID: 24027598
Thanks for you response. I have a robots file in front of me.

It says on line 3 of my file:

Sitemap: http://www.mysite.com/sitemap.xml


I went on Google Webmaster tools, clicked on Analyze robots.txt and it told me this:

VALUE                                                                                  RESULT
Line 3 : Sitemap: http://www.mysite.com/sitemap.xml             Valid Sitemap reference detected


My question then was, because it said 'Valid Sitemap Reference detected', am I supposed to have this sitemap defined in two places or just one of them.

What you are suggesting is that sitemap should not be defined in robots.txt at all.  Is this correct?
0
 
LVL 12

Accepted Solution

by:
Sinoj Sebastian earned 50 total points
ID: 24029353
Yes you can specify as many sitemap file as you wish inside the robots.txt
But, AFAIK, you will not see status of the sitemap anywhere. If you submit it to webmaster tools, you will see the last date google downloaded the sitemap, total links on the sitemap, total indexed links on the sitemap and errors and warnings. And why you need the samething on two places. I suggest you not to use sitemap on robots.txt
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now