Forums

[resolved] all images are broken, running wp-multisite (2 posts)

  1. scisgr8
    Member
    Posted 3 months ago #

    All of my images have broken and I"m not sure what i've done.

    Disclaimer, I was playing around with the .htaccess file yesterday; however thought I reloaded the correct file:

    here are a couple of sites where I'm experiencing problems:
    http://www.dentistcolumbiasc.net
    http://www.columbiascpoolcompany.com

    In looking in the ftp the files are there; however when looking in the media manager in the wp backend the files say they are there but are XXX'd out just like the sites

    any help or advice is greatly appreciated

    here is what I have:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  2. scisgr8
    Member
    Posted 3 months ago #

    OK after a little research I changed my .htaccess file to this:

    #Wordpress Multi site
    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 Multi Site

    and everything is now solved.......

Reply

You must log in to post.

About this Topic