ok I've added the following to my virtual-host RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
On 4 Nov, 16:22, mdipierro <mdipie...@cs.depaul.edu> wrote: > Not with routes. Apache mod_rewrite > > On Nov 4, 10:49 am, Francisco Costa <m...@franciscocosta.com> wrote: > > > Is there a way that we can route a website so thathttp://www.domain.com > > redirect tohttp://domain.com > > If you can't do this with routes how you can do it? > >