sitemap icon indicating copy to clipboard operation
sitemap copied to clipboard

Confusion over the :public_path parameter

Open x-ji opened this issue 6 years ago • 1 comments

In the example in the README, the sitemap is exposed under the folder /sitemaps. This also seems to be the default.

However, according to the information here, the sitemap should be under the root of the website. Otherwise,

A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/.

I wonder if the intention is to let the user manually specify another sitemap.xml under the website root to point to those files in /sitemaps, otherwise this configuration could be a bit misleading?

x-ji avatar Nov 26 '18 11:11 x-ji

Though it seems that nowadays it doesn't really matter to most search engines, even though the spec states otherwise: https://webmasters.stackexchange.com/questions/23916/can-a-sitemap-index-file-list-sitemaps-in-a-different-directory/23933#23933

x-ji avatar Nov 26 '18 11:11 x-ji