Redirect http to https with a condition

By sesblue ·
I am new at this, but I have been trying to redirect http request to my web server to https. The address is which using (in .htaccess)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) redirects well all request to https.
However I have other requests to that get redirected to (instead of which I know is due to the above Redirect statements. Can anyone help in defining the right condition statements that can help me redirect http requests to the right https page.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums