Quote:
Originally Posted by quadinfotech
Code:
http://www.yourdomain.com/sitemap_1.xml.gz
when google searches for that file in that address your .htaccess file will redirect its request to the appropriate location which is
Code:
http://www.yourdomain.com/forum/vbseo_sitemap/sitemap_1.xml.gz
|
Just a clarification the filename *should* be sitemap_index.xml.gz
The reason is that if you set your URL amount to split at say 20,000 links (default option) then you will have up to three files, sitemap_1.xml.gz, sitemap_2.xml.gz and sitemap_3.xml.gz if you have more than 20,000 URLs in your sitemap up to a total of the 50,000 URLs allowed by Google.
The sitemap_index.xml.gz tells google where to find the rest of the files after the split has occured. As well, even if you only have one file, it will still point google to the correct file location.