Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ruven

    (@harta-e)

    That would be an awesome addition 🙂

    I also have a multisite installation running under a subdomain and wish to enable server side image distribution. I inserted the required code from the theme options into my .htaccess file, but it does not seem to work. The two lines from meadeiator’s last comment also don’t work. Could you point me in the right direction what to do?

    This is how my .htaccess looks right now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^files/(.+) wp-content/plugins/wp-retina-2x/wr2x_image.php?ms=true&file=$1 [L]
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)