Answer the question
In order to leave comments, you need to log in
How to make an exception for one page when redirecting from HTTP to HTTPS?
in .htaccess I have a redirect configured from HTTP to HTTPS
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/robots\.txt$
RewriteCond %{HTTP:X-Forwarded-proto} !^https$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI } [R= 301,L]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question