I'm digging for answers, and I figured I'd try here - I need to make sure that anyone who pops in http://domain.com gets http://www.domain.com
I attempted the following in my mod rewrite:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^\kamalaspa\.com$
RewriteRule (.*) http://www.kamalaspa.com/$1 [R=Permanent]
This does the trick, but it doesn't replace the url with a www version, it only forwards to the index www. If someone types in http://kamalaspa.com/ayurveda/ they get sent to http://www.kamalaspa.com/index.php instead of http://www.kamalaspa.com/ayurveda/
Any ideas of something I'm missing in my htaccess? Thanks all!