M
M
Met012018-03-13 00:41:17
Exceptions
Met01, 2018-03-13 00:41:17

How to exclude subdomain from http to https redirect?

Tell me, I need to exclude a subdomain from the http to https redirect. The redirect is implemented like this:

RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI } [R=301,L]

Thank you in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question