Support » Networking WordPress » Multisite sub-blog pictures won't import/broken links

  • Resolved w.pitt


    I have a wordpress multisite installed on a ( I’m building websites here ( or (

    I have .htaccess looks like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,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 ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I think the problem is where my ( folder is installed) In my cpanel when I access my files I click on the (WWW)/then I click on ( is that the problem? because it’s not in the root folder?

    Problem is I can use the main “” without any problems. I cannot add any images to the “ or”

    The images appear as broken links or return a 404 error when I enter their URL manually.

    Image URL:


    Thanks to all who answer!! If you need any more information please ask! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    This works:

    So the problem is you don’t have allowoverride set to All (or possibly Options All) in your httpd.conf

    Your server doesn’t like the complex .htaccess rules, so have it edited to use that.

    How come your link works? Why doesn’t my website pull the image up?

    As for the httpd.conf I contacted my hosting company for that issue before I posted here and this was there response: “Unfortunately we do not allow to modify apache configuration file for particular domain. This setting is not supported at this time.”

    How can I edit my .htaccess for my server to read the .htaccess ?

    Thank you so much for your help!!

    Hi Mika,

    I just wanted to bring this up. I started reading your mulitisite Ebook and found a mistake in my multisite install. On page 14 of your ebook you mention that we shouldn’t have database prefix’s using numbers.

    I presently have DB1, DB2, and DB3. Would that be part of the problem? Wouldn’t that create improper links because (you mentioned) “cause conflicts with the numbering structure WordPress uses per-sire”

    Thank you Mika!!

    Please also note,

    In my CPanel/phpmyadmin I do not have tables such as “wp_1_comments”

    I only have “wp_comments”
    then jumps to “wp_2_comments”

    Therefore my database tables aren’t okay?

    Thanks for your help!!

    I solved the Issue by correcting the .htaccess code.

    there was missing ([_0-9a-zA-Z-]+/) before the ?files in the upload files section.

    Thanks again Mika! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multisite sub-blog pictures won't import/broken links’ is closed to new replies.