Forum Moderators: phranque
I have created a sitemap for my blog.
In order to build the sitemap at the first time it tells me to change some permissions:
================================
The sitemap files could not be written!
Make sure that the files "sitemap.xml" and / or "sitemap.xml.gz" are writable. You have two options to ensure this:
* Make your blog root writable
You can make your whole blog root folder writable and the plugin will create the files for you. You can do this by using a FTP program and setting CHMOD to 755 or 777 to your web-root folder. This folder is often named "htdocs", "html", "public" or "httpdocs".
* Create the sitemap files and make them writable
If you can't make your blog root folder writable or don't want to do so, you can create two new files, name them "sitemap.xml" and "sitemap.xml.gz", upload them to your blog root and use a FTP program to apply CHMOD 755 or 777 to them. To create these files, simply open Notepad, click on "File > Save As", choose "Filetype: All File" and enter "sitemap.xml" as the name. Repeat this step for "sitemap.xml.gz".
================================
I tried 755 for sitemap.xml.gz and sitemap.xml but without success until i changed it to 777.
With 777 it is ok but ... Is it safe?
Thanks