50,000 after that you have to break it up in to multiple sitemaps. Source: https://www.google.com/webmasters/tools/docs/en/protocol.html#faq_sitemap_size
I have sites with 10,000 pages in the sitemap and I don't have any problems. I'm sure google would have asked for a lower number of pages if they couldn't handle it.
It might be worth while to split your sitemap into multiple files even if it is less than 50,000 URLs. The reason is that if your generate your sitemap dynamically...if for some reason it becomes corrupted...you don't have your entire map going dead with errors.
hey gbh1935, Can you please tell that how much links we can add in each file, and apart from it what would be the mechanism of giving names to the files. As we normally use sitemap.xml for a single file. Will it be link sitemap1.xml, sitemap2.xml etc ???
All of them! For large sites, Google has set a limit but the site map generator should handle that automatically for you.
Ususally generators lets you customize how many to have in one sitemap. What is the Google's limit? Thanks
I use my own made sitemap builder at http://www.webrickco.com/buildsitemap.php. Google limits you to 50000 url or 10Mb of data in a sitemap. If you need more, you have to split and create and index. Anyway be aware that, independently to the chosen solution, crawling a website with 10000 url will take several hours and consume a lot of your resources, even with desktop applications for sitemaps. And of course google does not crawl that amount of pages at once. It will take several weeks before it is done.
I try to keep under 30,000 per sitemap and to have at least 2 sitemaps per site. I do name them sitemap1.php, sitemap2.php, sitemap3.php, etc. I generate my dynamically so that they are always up to date.
Me, for the moment, for my web directory, i have generated automatically , with an query from database, the sql map, because i thaught that were too many links. I will use an sitemap generator, to recreate it.
The google bot has indexed onlty 35 of 220 urls from sitemap??????? Is it ok, what could be the problem??? Thanks
For instance if you have 30 000 urls, in total, you put 10 000 in sitemap1.xml 10 000 in sitemap2.xml, 10 000 in sitemap3.xml, and if you ass new page you add the new url into one sitemap, eg sitemap3.xml, and resubmit this one. Hope it helps. Regards