View Single Post
Old 2006-12-22, 01:06 AM   #1
Halfdeck
You can now put whatever you want in this space :)
 
Halfdeck's Avatar
 
Join Date: Oct 2004
Location: New Haven, CT
Posts: 985
Send a message via ICQ to Halfdeck
Yikes.

Bed time for me, but I recommend using a HTTP header checker and a test directory before making a new .htaccess live.

This is what I use:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301]

(Yeah, www and non-www are backwards for you).
__________________
Success is going from failure to failure without a loss of enthusiasm.
Halfdeck is offline   Reply With Quote