WordPress MS uploaded media broken (3 posts)

  1. myhairisspikey
    Posted 2 years ago #

    Hey Folks,

    I've seen a lot of errors folks getting similar errors.

    When I upload stuff from my http://www.domain.com everything is fine, but when I uploaded media from my x.domain.com I get a broken image. I checked my host filemanager, and nothing is getting uploaded to the blogs.dir folder, but rather all my media is going to my wp-content/files/year/month/ folder regardless of what subdomain I'm using. help please!

  2. myhairisspikey
    Posted 2 years ago #

    Here's my .htaccess file

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [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]

  3. myhairisspikey
    Posted 2 years ago #

    Also, since updating the htaccess now my non-www site redirect to


Topic Closed

This topic has been closed to new replies.

About this Topic