i have this for my htaccess
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
it works well if u have domain.com/blablabla but does nothing to the main domain. If u go to http://domain.com is stays the same.
any ideas?