[nycphp-talk] Removing www.
Joseph Crawford
codebowl at gmail.com
Wed Feb 7 22:46:12 EST 2007
Chris,
Thanks that did the trick.
On 2/7/07, Chris Shiflett <shiflett at php.net> wrote:
> Joseph Crawford wrote:
> > Hey guys, what would i need to do in order to make all of the
> > www. be removed from my urls?
>
> >From http://no-www.org/:
>
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^www\.josephcrawford\.com$ [NC]
> RewriteRule ^(.*)$ http://josephcrawford.com/$1 [R=301,L]
>
> Hope that helps.
>
> Chris
>
> --
> Chris Shiflett
> http://shiflett.org/
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
--
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
http://www.codebowl.com/
Blog: http://www.josephcrawford.com/
1-802-671-2021
codebowl at gmail.com
More information about the talk
mailing list