Ho!
For Google Webmasters Tools, which sitemaps should you submiited:
1) sitemap_index.xml or
2) sitemap.xml
I submitted both and got an error about the code not being valid.
I follow the instruction here:
You may need to specify a different folder or path on the server for your sitemap files, as the Google Sitemap protocol requires the files to be located at the base URL of the files which have been scanned. This means that if your sitemap files contain URLs such as:
http://www.mysite.com/index.html
http://www.mysite.com/story/page1.html
http://www.mysite.com/news/archive/test.html
Then your sitemap files must be hosted at the common base URL of the above files, and that is the root directory at http://www.mysite.com/
In the sitemap_index.xml file, I can read:
Last version - spider mode - using only folder starting point with no html page pointing to any files -
Thanks for any help!
Roger Pilon
sos-planet.org
For Google Webmasters Tools, which sitemaps should you submiited:
1) sitemap_index.xml or
2) sitemap.xml
I submitted both and got an error about the code not being valid.
I follow the instruction here:
You may need to specify a different folder or path on the server for your sitemap files, as the Google Sitemap protocol requires the files to be located at the base URL of the files which have been scanned. This means that if your sitemap files contain URLs such as:
http://www.mysite.com/index.html
http://www.mysite.com/story/page1.html
http://www.mysite.com/news/archive/test.html
Then your sitemap files must be hosted at the common base URL of the above files, and that is the root directory at http://www.mysite.com/
In the sitemap_index.xml file, I can read:
<sitemap>
<loc>http://sos-planet.org/sitemap.xml</loc>
</sitemap>
<loc>http://sos-planet.org/sitemap.xml</loc>
</sitemap>
Thanks for any help!
Roger Pilon
sos-planet.org
Comment