Multisite: Develop locally using production images with .htaccess
The following .htaccess to rewrite example … RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$ RewriteRule ^(.*)$ http://example.com/$1 [QSA,L] Just to note… this will result in an external redirect (as if R=302 was included on the RewriteRule directive), not simply a “rewrite” (as is suggested) – even without the R flag. So, the browser will issue two requests for every … Read more