Commit 841f8ec1 authored by vonavi's avatar vonavi

Redirect www to non-www.

parent db846da8
---
---
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
RewriteCond %{HTTP_HOST} ^site-lorchess.rhcloud.com$
RewriteRule (.*)$ {{ site.url }}/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^site-lorchess\.rhcloud\.com$ [NC]
RewriteRule ^(.*)$ {{ site.url }}/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment