I'm switching servers and need to change the following RewriteCond & RewriteRule commands in the .htaccess file.
Right now I'm pointing domain.com to www.domain.com
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^(.*)$ "http\:\/\/www.domain.com\/$1" [R=301,L]
I need to switch the commands and do the opposite where I point www.domain.com to domain.com.
I would appreciate some help with the syntax. Thank you