ZenphotoCMS Forum
Sitemap-extended Permissions - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Sitemap-extended Permissions (/thread-9936.html)



Sitemap-extended Permissions - Nightshade - 2012-05-05

Hello.

When submitting my sitemap to Google I had issues (404), and eventually noted that the .XML files were not set to permission "644" by default, but rather "600".

I was able to resolve the problem by manually changing the permissions to "644" in FTP, but that necessitates doing so every time I generate a sitemap through ZP admin tools.

So, just reporting that (bug?) and would like to know if anyone could suggest a bit of code to tweak in the plugin to generate "644" permissioned files instead of "600" on sitemap generation.

  • Nightshade



Sitemap-extended Permissions - acrylian - 2012-05-05

I think this is a server issue when generating the files via a script. On my live and local servers they generated with 644.




Sitemap-extended Permissions - Nightshade - 2012-05-05

Oh, really?

Alright, thank you Acrylian. I'll get in touch with my web admin and see what we can do about that then.

  • Nightshade