Solved

Define Sitemap in Robots.txt or Google Webmaster?

Posted on 2009-03-31
3
967 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

13 Experts available now in Live!

Get 1:1 Help Now