6

By searching for "How to submit a sitemap to Google" you can find dozens of links, and all of'em truly explain the how to very well.

But all of'em start with this first step:

  1. Login to your Google Webmaster Tools
  2. ...

My problem is that, we are creating a hosted-CMS solution (something similar to wordpress.com), and we let people assign their domains to their sites. However, we don't want to ask them to create Google Webmaster Tools account, and follow a mid-technical path, to get their sites indexed.

Rather, we want to anonymously submit their Sitemaps (like http://domain/sitemap, where domain is a variable) to Google.

We found this link, at the end of which, it's explained that you can submit your sitemap to this URL:

www.google.com/webmasters/tools/ping?sitemap=sitemap_url

However, I'm not sure if it's really anonymous or not. Is it a good idea at all or not? Do we have other options to notify Google to index our sites?

3

1 Answer 1

10

If you want to submit your sitemap without a Google Webmaster Tool account, place it in your robots.txt file.

Source

You can specify the location of the Sitemap using a robots.txt file. To do this, simply add the following line including the full URL to the sitemap:

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

This directive is independent of the user-agent line, so it doesn't matter where you place it in your file. If you have a Sitemap index file, you can include the location of just that file. You don't need to list each individual Sitemap listed in the index file. You can specify more than one Sitemap file per robots.txt file.

Sitemap: http://www.example.com/sitemap-host1.xml

Sitemap: http://www.example.com/sitemap-host2.xml
2
  • 1
    Even better is that many other search engines besides Google understand this directive too, so you get your sitemap submitted to all of them. Mar 1, 2012 at 15:24
  • It's probably worth setting the sitemap in the robots.txt and also pinging google to let it know where the sitemap is... might get things moving quicker otherwise you are relying on google discovering your site naturally.
    – Vince P
    Mar 1, 2012 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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