Subdomain full redirection
This commit is contained in:
parent
0c3f90c0ce
commit
4b9da59c96
@ -2,5 +2,5 @@ Options -Indexes
|
||||
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
|
||||
RewriteCond %{HTTP_HOST} !^pube\.tk$ [NC]
|
||||
RewriteRule ^(.*)$ https://pube.tk/$1 [R=301,L]
|
||||
|
Loading…
x
Reference in New Issue
Block a user