Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion over the :public_path parameter #30

Open
x-ji opened this issue Nov 26, 2018 · 1 comment
Open

Confusion over the :public_path parameter #30

x-ji opened this issue Nov 26, 2018 · 1 comment

Comments

@x-ji
Copy link
Contributor

x-ji commented Nov 26, 2018

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
Copy link
Contributor Author

x-ji commented Nov 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant