WordPress.org

Ready to get started?Download WordPress

Forums

multi site upload not found (12 posts)

  1. SRD75
    Member
    Posted 5 months ago #

    I have WordPress in multi-site mode.

    In my subomdain site's theme options, I have set my logo to be:
    http://nsw.findrhinoplasty.com.au/wp-content/uploads/sites/2/2014/03/logo-NSW.png

    However, this redirects to:
    http://nsw.findrhinoplasty.com.au/?pagename=logo-NSW.png

    My .htaccess is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
  2. Anshu Verma
    Member
    Posted 5 months ago #

    Try Adding this to your .htaccess file

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    before making changes to .htaccess, please take backup for your orginal .htaccess file.

  3. SRD75
    Member
    Posted 5 months ago #

    Thanks Anshu.

    I made the change and uploaded .htaccess, but the issue remains.

  4. Anshu Verma
    Member
    Posted 5 months ago #

    Please make sure your httpd.conf has

    <Directory>
        Options FollowSymLinks
        AllowOverride All
    </Directory>

    Incase you dont have access to httpd.conf, please ask your hosting provider if AllowOverride is set to ALL for your account.

  5. SRD75
    Member
    Posted 5 months ago #

    I have multi site WordPress installed on the same host which work, without the need for editing httpd.conf.

  6. SRD75
    Member
    Posted 5 months ago #

    I have confirmed with the web host that AllowOverride is set to ALL for my account.

  7. Anshu Verma
    Member
    Posted 5 months ago #

    Can you please check if the file has been uploaded and exists in the folder?

  8. SRD75
    Member
    Posted 5 months ago #

    No, the image was not there.

    If I delete the bad image, and upload the same image, and edit the newly uploaded image, it doesn't preview the image, it just shows a broken image placeholder. This is on /wp-admin/post.php?post=23&action=edit

  9. SRD75
    Member
    Posted 5 months ago #

    The file exists in the file system at
    http://findrhinoplasty.com.au/wp-content/uploads/sites/2/2014/03/logo-NSW.png

    but cannot be referenced by http://nsw.findrhinoplasty.com.au, which is site 2.

  10. Anshu Verma
    Member
    Posted 5 months ago #

    broken image placeholder is usually when the image is not properly uploaded. It save the details to database which is why you can see that the file exists in the file system, but does not get uploaded.

    Can you please check your wordpress file permissions. More details on http://codex.wordpress.org/Changing_File_Permissions.

    example on http://codex.wordpress.org/Hardening_WordPress#File_Permissions

  11. SRD75
    Member
    Posted 5 months ago #

    The file does exist in the file system.

    I don't see how that could be the case if WordPress didn't have write permissions.

    However, the linkage to the file is broken.

    The file permissions are fine as far as I can see.

  12. SRD75
    Member
    Posted 4 months ago #

    The site was originally installed by Installatron.

    I uninstalled it, and reinstalled it manually.

    I enabled subdomain network manually, but the same issue remains.

Reply

You must log in to post.

About this Topic