Support » Networking WordPress » multisite sub sites image upload error

  • Resolved Joel Black


    I recently moved a multisite from to A few minor issues but it seems now the sub sites can’t upload images. The main site can, but the sub sites such as can’t.

    At first, I would get this error:

    Unable to create directory /var/www/vhosts/ Is its parent directory writable by the server?

    So then I created the directory and got this error:

    The uploaded file could not be moved to /var/www/vhosts/

    (these are 2 different sub-sites, but after I created the directory on the first, I couldn’t recreate the error to copy and paste so I set up another sub-site)

    I tried chmod 777 on blogs.dir, didn’t work. Im on a Linux server and Plesk control panel. I have the default htaccess file that WordPress told me to add:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    I tried chmod 777 on blogs.dir, didn’t work.

    Did you make sure permissions filtered all the way down?

    Joel Black


    Well, you did it again! That fixed the issue. I thought I had done that, but obviously I didn’t do it well enough. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multisite sub sites image upload error’ is closed to new replies.