RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www. [NC] RewriteCond %{HTTP_HOST} ^(?:www.)?(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
Last active
December 13, 2021 15:56
-
-
Save HarryAdney/3e0522709078bbfd3fd68f039d78e2eb to your computer and use it in GitHub Desktop.
htaccess
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment