• Resolved Melege

    (@melege)


    Hello,
    I have a problem when trying to upload images to the “Uploads” directory.
    Although permissions of the “Uploads” directory are correct.

    The error message that comes up says that the WordPress is not permitted to modify the following directory:
    home/www/DOMAIN.com/portal2/wp-content/uploads/2009/12

    One of my friends told me that I have to make WordPress deal with this directory:
    home/public_html/DOMAIN.com/portal2/wp-content/uploads/2009/12

    Instead of this directory:
    home/www/DOMAIN.com/portal2/wp-content/uploads/2009/12

    Then I should make wordpress deal with (PUBLIC_HTML) instead of (WWW) as the directory WWW is just a symlink of PUBLIC_HTML.

    Anyone can help me fix this?
    Thanks in advance for your time reading my post,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Afaik public_html and www folders are the same, they are like shortcuts to each other (although not 100%)

    It sounds as if it could still be a perms problem, or a script problem, what script are you using?

    What settings have you got on:
    Admin > Settings > Miscellaneous

    Thread Starter Melege

    (@melege)

    Thanks for your replies,
    @xdesi: The script is WordPress (of course). I don’t get what do you mean.
    @alism: Thank you I have found the option and changed the path, but unfortunately the error message still exists!

    Are you getting this error when uploading a file? Can you post the exact error here?

    Thread Starter Melege

    (@melege)

    Thanks for replying,
    Sorry, my control panel is in Arabic, I can only translate the message for you as I can’t get the exact error message in English.
    After changing the path to “public_html”, now the error message indicates that WordPress can not modify the directory:
    home/public_html/DOMAIN.com/portal2/wp-content/uploads/2009/12

    I double checked this URL and I am sure the permissions are correct. Also have disabled the mod_secure

    Thread Starter Melege

    (@melege)

    The exacr error message in English is:
    ==========
    Unable to create directory home/public_html/DOMAIN.com/portal2/wp-content/uploads/2009/12. Is its parent directory writable by the server?
    ==========

    It seems it’s a common problem, but till now, can’t find a solution!

    Thread Starter Melege

    (@melege)

    I fixed it. The path was not supposed to be full.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing from WWW directory to PUBLIC_HTML!’ is closed to new replies.