Chris,

Thanks that did the trick.

On 2/7/07, Chris Shiflett <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
_______________________________________________
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

Reply via email to