RSS

Unable to create directory+Is its parent directory writable by the server?

Fri, Nov 27, 2009

WordPress

Most often when you change your host and move your wordpress blog from one host to another, there are many small things that may create problems and may not make the moving experiance a pleasure. One of such problems is that you can not upload your image in your posts. Here is the error that you may receive:

Unable to create directory /xyz/public_html/wp-content/uploads/2009/05. Is its parent directory writable by the server?

What does this error actually mean? It means either the above given path is not correct where the server wants to write the image OR the server itself does not have the permissions (CHMOD) to upload your image?

Now first see if you have the correct path provided for the upload of content. Login to Wp-admin, click on Settings and then choose Miscellaneous option from the left menu

If you have moved from your old server, you would instantly know that you are using wrong path. Change the path now; most probably it should be wp-content/uploads (if your wp-content is in root directory). Save the changes and it should start uploading right away.

miscellaneous-settings

Now if you have corrected the path but still it is showing the problem you may consider revising permissions from any FTP client. Right click on Wp-content folder and then select ‘Properties/CHMOD’. You shall see the following window:

Make sure that you assign 755 as the permission value. Remember not to ever give 777 value as that has its own security risks. Once you save these settings, it should certainly work. Share your experience with us after solving the issue

Incoming search terms for the article:

Random Posts

,

This post was written by:

Kent - who has written 699 posts on Delighted Stupid Wind | Empire Illusion.

Working in the English Search Engine industry, focusing on the new media and new economy, Trying to find out a way for e-commerce integration!

Contact the author

3 Comments For This Post

  1. pennyvaiz Says:

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  2. Helga Says:

    Hi,
    I had this problem after moving my blog to another directory.

    I checked everyting: the miscellaneous settings are okay, the chmod is 755. It only works for me to upload after chmoding the uploads file to 777 which of course I don’t want…
    Any idea what else I can try? Can’t leave uploads at 777 of course and chmoding evrytime i upload a pic takes a lot of work..

    Thanks for any help!
    Helga

  3. Kent Says:

    @helga maybe you need to check with your host service people, if only the chmoding problem

Leave a Reply