My apologies if this has already been reported.

I was using Google Webmaster Tools the other day and tried to submit an xml sitemap. I got an error that the robots.txt could not be downloaded (and hence they couldn't process the sitemap). I created a robots.txt file and uploaded it to the root and the sitemaps uploaded to fine after that. So, what I discovered is that Google doesn't like the dynamic robotos.txt in some instances. Since we have to delete the robotos.txt from the root for this module to work, I wanted to bring this to your attention. Perhaps it would make Google happier if this module were to write to/generate the sitemap file and leave it/place it in the root.

Thanks... I really like the module as is saves me from accidentally overwriting the robotos.txt, but the Google thing was an unpleasant surprise.

CommentFileSizeAuthor
#6 robotstxt from GWT.gif11.03 KBrussellb

Comments

hass’s picture

Category: bug » support
Status: Active » Fixed

Fix your broken webserver. NO robot have an idea that this file is not on your hardisks as it's always shown if requested from outside.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

greenc’s picture

There 's no problem with the web server.

hass’s picture

Than it would simply work.

greenc’s picture

Have you tried to test it with Google's webmaster tools?

russellb’s picture

Version: 6.x-1.2 » 7.x-1.2
Issue summary: View changes
StatusFileSize
new11.03 KB

I encountered a similar issue with Google & sitemaps in robotstxt 7.x-1.2. In Google Webmaster Tools, I was seeing robots.txt appearing and disappearing. I've attached a screenshot of the dropdown on the GWT robots.txt tester. XML sitemaps integration was running here.

I've switched the robotstxt module off and gone to a static robots.txt and the problem has gone away.

hass’s picture

Version: 7.x-1.2 » 6.x-1.2
russellb’s picture

I've edited my post to make it clear that the problems I saw were with robotstxt 7.x-1.2.