• I’ve been having issues with image thumbnail redirects in my wordpress subdomain: http://chadashim.biuinternational.com .
    While the image can be reached at wp-content/blogs.dir/2/files/ , they dont show up at /files.

    Here are the relevant settings (I believe this is all of them):

    Upload Path: wp-content/blogs.dir/2/files
    Fileupload Url: http://chadashim.biuinternational.com/files/

    the .htaccess file (copied directly from wp-multisite):

    #BEGIN WordPress
    <IfModule mod_rewrite.c>
    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]
    </IfModule>
    #END WordPress

    My host is bluehost.com

    Any and all help would be greatly appreciated.

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    While the image can be reached at wp-content/blogs.dir/2/files/ , they dont show up at /files.

    This is not wrong.

    This line in your .htaccess file is supposed to redirect:
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    Images seem to be loading fine now though.

Viewing 1 replies (of 1 total)
  • The topic ‘Image thumbnails redirects not working in Subdomain posts or Media Library’ is closed to new replies.