Hello,
by the code below all http requests are redirected to https. How to exception for images that they wouldn't be redirected to SSL?
Thank you.
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Are all of the images in a certain directory? If so, try something like this:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule !images/(.*) https://%{HTTP_HOST}%{REQUEST_URI}
where 'images/' is the directory where the images are stored.