Stripped www. from domain names
This commit is contained in:
parent
a69f8563e8
commit
b26fd88d6f
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ DirectoryIndex index.html
|
|||
ErrorDocument 404 /404.html
|
||||
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
|
||||
|
||||
RewriteRule ^/?404.html$ /#/404 [NE,R,L]
|
||||
|
||||
|
|
Loading…
Reference in a new issue