开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜