• I migrate my blog from other hosting with the multisite and now I can’t upload any image.

    It always appears an error like “It was impossible to create the directory uploads/2014/06. Make sure that the server have the right write permissions for the upper directory” (it’s translated from the error thata appears to me in Spanish -> “No se pudo crear el directorio uploads/2014/06. Asegúrate de que el servidor tiene permisos de escritura para el directorio superior.”).

    I suspect that the problem could be in the htaccess, this is what I have in it:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    </IfModule>

    But I don’t have too much idea of what do I have to change or why. I tried changing the permissions of the folders from 755 to 777 but the error still there.

    Thanks in advance.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter Javi Pastor

    (@jpastorre)

    Yes, just in this one.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Do a compare of a working site’s settings (on the edit site -> settings page like you were at for Fileupload URL) and your broken one. Look for everything related to uploads and see if they’re the same format.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Can't upload images’ is closed to new replies.