First time here? Check out the FAQ!

Revision history  [back]

Sitemap URL is example.com in robots.txt

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.

Sitemap URL is example.com in robots.txt

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.