Monday, March 22, 2010

xml-sitemap error, make sure the file exists and is writable

December 18, 2008 · Article by Sriraj · 9 Comments 

If you got the above message when trying to implement the XML sitemap then you have the solution here.

I’m not touching the plugin installation part here as it is very well described by the plugin owner arne brachhold.

‘Make sure the file exists and is writable’.If we go by the sentence we cleary understand that some file is missing.You may think of downloading the plugin again but it wont solve your problem.

When the plugin creats a sitemap,it should have some file to write it on right?To provide the plugin the file it needs just use your FTP.

Open your FTP and create a new folder on the server side in the root directory and name it as sitemap.xml.Create another folder similarly and name it as sitemap.xml.gz which will be created in zipped format.

Some FTP’s like filezilla may not have the option of making a new folder on server side.In such cases simply open your notepad on your desktop and make an empty file and name it as sitemap.xml.Similarly  make an empty file and name it as sitemap.xml.gz.Then transfer them to your server using the FTP into the root directory(public_html).Make sure they are writable.You can find how to make file writable here.

After you’ve done that come back to settings and click on XML-sitemap.You will again see two red coloured lines in the beginning but hold your patience and click on build your sitemap manually.

There you go,your sitemap has been successfully built,wasn’t it? Finally your sitemap shold look something like this .

If your problem did not find a solution even after this then do not hesitate to put a comment below.

Visitors who read this article also read:

  1. Google version of explaining robots.txt timeout sitemap errorIn one of my previous posts I described what could be the cause for the above problem. Now Google has...
  2. Make php and css files writable from within wordpressIf your using wordpress machine for your website or blog,you may sometimes be required to make certain changes or add...
  3. Deactivating plugins when unable to loginLast week I encountered a wordpress headers problem due to which I was unable to login to my admin page....
  4. Google sitemap guidelinesEver since Google introduced sitemaps,it  set  very strict guidelines in the making of a sitemap. For your sitemap (which ever...
  5. Sitemap.xml error URL timeout:robots.txt timeoutI recently came across this error when I logged onto my webmaster tools.I searched the web to find out the...
  6. Put an image in your sidebar and link it to a siteOh c’mon you’re looking for a way to put images in your sidebar.You know this one,i bet you do but...

Comments

9 Responses to “xml-sitemap error, make sure the file exists and is writable”
  1. tiny... says:

    Thanks, worked for me with one change to your instructions,
    “Open your FTP and create a new folder on the server side”
    In my case I created “files” and not folders as suggested.

  2. And another thing, when I tried open

    http://www.karambakkudi.com/sitemap.xml

    it shows like this

    XML Parsing Error: no element found
    Location: http://www.karambakkudi.com/sitemap.xml
    Line Number 1, Column 1:

    • sriraj says:

      I don’t see that error when I open your sitemap. Infact I don’t see anything.
      Did you upload 2 empty files with names sitemap.xml and sitemap.xml.gz to your root directory? (public_html /sitemap.xml) .
      Pfff, I visited your site now and found that your language is Tamil (I guess?) and your URL’s too are in un-known language. I guess that was the parsing issue.

  3. Hi, Mr.Sriraj,

    I’m raj from Malaysia. I tried your way. But, i still can’t solve that problem. It is still showing the same thing. Please help me.

    Thanks.

  4. Oshimai says:

    Thanks for the nice and clear instructions. Your post helped me resolve my issue.

  5. levent says:

    i made all changes. created new two file as you said. i made them writable. but i still got this two warnings
    There was a problem writing your sitemap file. Make sure the file exists and is writable. Learn more
    There was a problem writing your zipped sitemap file. Make sure the file exists and is writable. Learn more

    i tried more and more
    i tried every solution. but coulnd handle it

    wp 2.7 with quadro theme

Trackbacks

Check out what others are saying about this post...
  1. [...] you’re looking for sitemaps for blogs using wordpress.org machine we’ve got that too. But are sitemaps really needed for blogs? Share/Save Or if you enjoyed this post, [...]



Have something to say?

Tell us what you're thinking...

Have your own website

Sriraj Digital Magazine on Mobile

Now you can have all the latest updates while you are on the go too. Just visit our website www.sriraj.org from your mobile and stay updated. The content is especially formatted for touch devices, but I promise, other mobile users won't be disappointed too.
Note: If you are being taken to the normal website when visiting through your mobile, please let me know your mobile make and its user-agent (like Nokia6300, for example)