(root)/.htaccess – Rev 10
Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
10 |
- |
1 |
RewriteEngine On
|
|
|
2 |
RewriteCond %{HTTPS} off [OR]
|
|
|
3 |
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
|
|
4 |
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
|
|
|
5 |
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
|