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

  1. scisgr8
    Posted 3 years 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:

    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]

    # END WordPress

  2. scisgr8
    Posted 3 years 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.......

Topic Closed

This topic has been closed to new replies.

About this Topic