Ask Your Question

Sitemap URL is in robots.txt

asked 2012-03-23 09:31:44 -0500

todofixthis's avatar

updated 2012-04-14 15:39:55 -0500

When I view my site's robots.txt file in my browser, I notice that the Sitemap URL is incorrect:

User-agent: *


Note that the URL for the sitemap uses as its domain.

Following the instructions in, I changed the domain for my website, and now is displaying the correct URLs, but robots.txt is still broken.

edit retag flag offensive close merge delete



Thanks for reporting this, will take a look now and fix it.

Fitoria's avatar Fitoria  ( 2012-03-23 09:52:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-23 12:19:46 -0500


User-agent: *

edit flag offensive delete link more


Thanks! Will this take effect for any domain name (i.e., as specified in Django admin)? Or will it need to be manually updated if/when I change the domain name for the site?

todofixthis's avatar todofixthis  ( 2012-03-23 12:53:03 -0500 )edit

for the moment this is set according to your domain name you cannot change it.

Fitoria's avatar Fitoria  ( 2012-03-23 12:55:30 -0500 )edit

Looks like this might be getting set globally; I accessed <> just now, and the Sitemap: entry is now According to GWT, has also appeared in robots.txt.

todofixthis's avatar todofixthis  ( 2012-03-26 00:19:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-03-23 09:31:44 -0500

Seen: 662 times

Last updated: Mar 23 '12