.htaccess - https htaccess exclude only one folder from redirecting to https -
i activated https on site , added .htaccess
rewriteengine on rewritecond %{https} off rewritecond %{http_host} !^www\.(.*)$ [nc] rewriterule (.*) https://%{http_host}%{request_uri} [r=302,l] rewritecond %{https} on rewritecond %{http_host} !^www\.(.*)$ [nc] rewriterule (.*) https://www.%{http_host}%{request_uri} [r=302,l] rewritecond %{https} off rewriterule (.*) https://%{http_host}%{request_uri} [r=302,l]
it's ok, want add exception single folder not redirected https. folder "public_html/files"
Comments
Post a Comment