• Resolved cableghost

    (@cableghost)


    Although the url to the images are correct, they simply will not display on the site nor in the Media Library. I’ve read a number of posts herein, but can’t find a solution. Any suggestions?

    Notes:
    a) Images display fine on main site
    b) I’m using subdomain option with appropriate htaccess code
    c) Images are located in wp-content/blogs.dir/5/files, and said path identified in Site Settings/Upload Path
    d) Text/Theme design/color, etc. display properly, just no images are displayed

    My htaccess and config file code…

    .htaccess:

    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]

    wp-config:

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'domain.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    $base = '/';

Viewing 1 replies (of 1 total)
  • Thread Starter cableghost

    (@cableghost)

    Resolved. I had to add the following line to my htaccess file. Not certain why this is omitted in the code provided in the Codex, or why my setup requires it.

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
Viewing 1 replies (of 1 total)
  • The topic ‘Images not displaying’ is closed to new replies.