What permissions should I set the sitemap to?
What 开发者_JAVA技巧permissions should I set on the sitemap_index.xml and sitemap.xml on my server?
Thanks
You should set the permissions in such a way that the web server can read the file when requested by an outside HTTP client.
The details of this will vary depending on your operating system and web server.
Unless you generate them dynamically, I would put them to read-only for everyone.
If you are using WordPress and the Google XML Sitemaps plugin, 666 permissions for sitemap.xml and sitemap.xml.gz files usually work.
精彩评论