Guys,
Been working several hours, i have a site which has SSL and im redirecting all non http to https i.e.
But is it possible to exclude a give REQUEST_URI not to redirect via https?
something like this
it always redirecting to http://domain.com/play/123 to https://domain.com/play/123, is it possible not to redirect a given REQUEST_URI
Thanks in advance,
Mike
Been working several hours, i have a site which has SSL and im redirecting all non http to https i.e.
Code:
# http to https
RewriteCond %{HTTPS} off
RewriteRule ^(.*) [URL]https://%{HTTP_HOST}%{REQUEST_URI}[/URL] [R,L]
something like this
Code:
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !/play/\d+$ [NC]
RewriteRule ^(.*) [URL]https://%{HTTP_HOST}%{REQUEST_URI}[/URL] [R,L]
Thanks in advance,
Mike
Last edited by a moderator: