therealwesfoster Posted August 14, 2008 Share Posted August 14, 2008 I'm wanting users that go to http://www.SITE.com to be redirected to http://SITE.com (without the www.) How can this be achieved? Wes Link to comment https://forums.phpfreaks.com/topic/119685-solved-simple-rewrite-question/ Share on other sites More sharing options...
Tandem Posted August 16, 2008 Share Posted August 16, 2008 RewriteEngine On RewriteCond %{HTTP_HOST} ^www RewriteRule (.*) http://site.com/$1 [R=301] Link to comment https://forums.phpfreaks.com/topic/119685-solved-simple-rewrite-question/#findComment-617863 Share on other sites More sharing options...
therealwesfoster Posted August 16, 2008 Author Share Posted August 16, 2008 Mucho appreciado my friend Wes Link to comment https://forums.phpfreaks.com/topic/119685-solved-simple-rewrite-question/#findComment-617975 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.