[Rails] Re: Redirect www to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule (.*)$ http://example.com/$1
On Jan 21, 5:02 am, Johnny Shi <johnny.t....@gmail.com> wrote:
> How to redirect www to non-www? e.g redirectwww.example.comto
> example.com
>
> Thanks
>
> Johnny
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home