9

Just out of curiosity, I have developed a small app analysing and generating sitemaps for a given domain.

Can I tell search engines to look for the sitemap of a given domain on my app using a dynamic url i.e. can you use cross-domain sitemaps.xml without validating you are owner of the destination domain?

For example :

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

  • Thanks for the link edit, it was automatically converted. ;) – iammichiel Apr 3 '12 at 15:30
9

Yes, you can do this, just make sure you specify the file's location in your robots.txt file.

I've had to do this for a site where I had limited access to the file structure, so I know it works - looks like other people have tried too.

  • Any idea how to do this? I've checked Google Webmaster, when I try to add a sitemap, the domain is readonly. – iammichiel Apr 3 '12 at 15:30
  • @Zenklys apologies, you're correct you have to do it via robots.txt and not the webmaster control panel. – toomanyairmiles Apr 3 '12 at 15:45
  • No need to apologize, was simply asking if it was possible :) Thanks for the info! – iammichiel Apr 3 '12 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.