15

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

Simon Hayter
  • 33,097
  • 7
  • 60
  • 119
iammichiel
  • 434
  • 4
  • 11

1 Answers1

11

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.

toomanyairmiles
  • 12,555
  • 2
  • 27
  • 49