Ask Your Question
0

Sitemap URL is example.com in robots.txt

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

todofixthis gravatar image todofixthis flag of Chile
1082 14 17 36
http://www.fiveyearsabroa...

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:

http://expats.askbot.com/robots.txt:

User-agent: *
Disallow:

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

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

Following the instructions in http://askbot.org/en/question/2715/sitemapxml-is-using-examplecom, I changed the domain for my website, and now http://expats.askbot.com/sitemap.xml is displaying the correct URLs, but robots.txt is still broken.

delete close flag offensive retag edit

Comments

1

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

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

1 Answer

Sort by ยป oldest newest most voted
1

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

Fitoria gravatar image Fitoria flag of Nicaragua
816 4 19
http://fitoria.net/

Fixed:

http://expats.askbot.com/robots.txt

User-agent: *
Disallow:


Sitemap: http://expats.askbot.com/sitemap.xml
link publish delete flag offensive edit

Comments

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 ( 2012-03-23 12:53:03 -0500 )edit

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

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

Looks like this might be getting set globally; I accessed <http://expats.askbot.com/robots.txt> just now, and the Sitemap: entry is now http://help.simplecv.org/sitemap.xml. According to GWT, http://askcre.com/sitemap.xml has also appeared in robots.txt.

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

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 111 times

Last updated: Mar 23 '12