jd1

*
  • *
  • 6
Cannot write to sitemap.xml
« on: October 13, 2011, 02:07:00 AM »
Though i have uploaded the sitemap.xml sitemap.html and sitemap.ror files and gave it  all 666, I still get the error message:
Sitemap file is not writable: /var/www/vhosts/mywebsite.com/httpdocs/sitemap.xml
Sitemap file is not writable: /var/www/vhosts/mywebsite.com/httpdocs/sitemap.html


I tried uploading sitemap.xml as a text file and as a binary and neither work.

Help appreciated :)
Thanks,

Jack
Re: Cannot write to sitemap.xml
« Reply #1 on: October 13, 2011, 01:44:56 PM »
Hello,

did you upload files to domain root folder? (not in generator folder)

jd1

*
  • *
  • 6
Re: Cannot write to sitemap.xml
« Reply #2 on: October 13, 2011, 04:06:55 PM »
Hi,
Yes all files are upload to root folder where all html files are. i.e httpdocs
So it's httpdocs/sitemap.xml  (666)
httpdocs/ror.xml (666)
and it's httpdocs/generator/(all generator files)  'generator' folder is chmod 777 as is data and pages folder both 777

What you think? I'd give you the actual url if it does not show on public forum :)
Re: Cannot write to sitemap.xml
« Reply #3 on: October 13, 2011, 07:30:26 PM »
It should be ok in this case. Can you provide a temporary ftp access for troubleshooting (via PM)?

jd1

*
  • *
  • 6
Re: Cannot write to sitemap.xml
« Reply #4 on: October 13, 2011, 07:51:05 PM »
Sure i'd be glad to.
I will send you a message

jd1

*
  • *
  • 6
Re: Cannot write to sitemap.xml
« Reply #5 on: October 14, 2011, 02:19:06 PM »
I see that the sitemap.xml and sister files are inside the generator folder. I did not understand that from the instructions.
I have two newbie questions i have to ask :)

1. Do those files stay there? If so I thought they belonged in the root directory of my website and so should i move them for the search engines to:  mywebsite.com/sitemap.xml?

2. Second question regarding 'excluding urls'   I have a several framed pages. Should i include only the master page and all the frame pages or exclude the header frame page, menu frame page etc..?? Thank you for your guidance and your help!!

Jacques

jd1

*
  • *
  • 6
Re: Same problem...Cannot write to sitemap.xml
« Reply #6 on: October 17, 2011, 12:59:55 AM »
Hi,
Thank you for getting my generator to work. But i never found out what the problem was.

I tried installing the generator on another website and i get the same error: "Sitemap files are not writable"  (sitemap.xml sitemap.html and ror.xml)
This time i put the sitemap. xml and ror.xml files in the generator root folder and both gave them 666. Still no luck.

What am i missing? (besides understanding of script writing :)

Thanks for your help! I'd like to learn to do this myself :))))

Re: Cannot write to sitemap.xml
« Reply #7 on: October 17, 2011, 12:07:18 PM »
Hello,

as mentioned in PM, on your server the "owner" userid for the folder containing sitemap should be the same as for php script file.
You should set generator configuration to store sitemap.xml in generator/ folder, and then copy .htaccess file from the first website that I created for you.

jd1

*
  • *
  • 6
Re: storing sitemap.xml?
« Reply #8 on: October 17, 2011, 01:52:48 PM »
Thanks for you reply :)
Sorry for the continued questions....

To confirm I understand you correctly :)

1. "You should set generator configuration to store sitemap.xml in generator/ folder"

2. But once the sitemap.xml and ror.xml files are created, they should then be copied to the website root directory  (mywebsite/sitemap.xml), so that the search engines can find them. Is that Correct?
Re: Cannot write to sitemap.xml
« Reply #9 on: October 17, 2011, 08:33:19 PM »
> 2. But once the sitemap.xml and ror.xml files are created, they should then be copied to the website root directory  (mywebsite/sitemap.xml), so that the search engines can find them. Is that Correct?

It will not be necessary if you will create .htaccess file in domain root (the same as in first website)