Hi Guys I created my sitemap mixing normal ULR's and .gz URL's as below. Is it ok to use like that ? <?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>http://www.example.com/default.aspx</loc> (around 200 normal aspx URL's ) <lastmod>2012-10-18T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/products.xml.gz</loc> (Over 100,000 products) <lastmod>2012-10-17</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/contact.aspx</loc> <lastmod>2012-10-18T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/help.aspx</loc> <lastmod>2012-10-18T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/news.aspx</loc> <lastmod>2012-10-18T18:23:17+00:00</lastmod> </sitemap> </sitemapindex>
Your sitemap index files should ONLY contain URL references to other sitemap.xml files. Your sitemap.xml files then contain references to your page URLs. Regarding sitemap index files, see this: http://www.microsystools.com/products/sitemap-generator/help/xml-sitemaps-page-limit/ You can not mix normal URLs into sitemap index file. Place those in a normal XML sitemap file instead. (Are you are at all sure you need a sitemap index file? Standard XML sitemap files can old up to 50k URLs)
Yes correct, this is for google sitemap. That is why i compressed all the files into 3 gz files. because we have over 100000 pages.
You gave this code example: Is default.aspx is an XML sitemap file that corresponds to XML sitemaps protocol? Based on the file name, I would assume not. It seems you in a sitemapindex file are referencing page URLs. (Which is not correct.) You can see http://www.sitemaps.org/protocol.html (official page) for more information When you got it working, you can try submit to Google Webmaster Tools as it will give you warnings/errors
Thank you, you mean if i use <sitemap> , then i can not mixed URL's. Becasue under XML <sitemap> can only add sitemaps , NOT normal URL's. Correct ?