• hi, im using WP multisite and everything is ok, but uploaded images are shown very slowly on frontend page. Everything is configured correctly i hope:)
    but only images are delayed
    link:
    https://www-solutions.eu/alinapopielska2/2011/09/08/witaj-swiecie/

    htaccess:

    RewriteEngine On
    RewriteBase /
    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]

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

    (@ipstenu)

    ?????? Advisor and Activist

    Normally that’s just that your server is slow. You can try to speed things up with caching, but it doesn’t matter very much with images.

Viewing 1 replies (of 1 total)
  • The topic ‘wp multisite and loading images on page’ is closed to new replies.