I'm switching servers and need to change the following RewriteCond and RewriteRule commands in the .htaccess file.
Right now I'm pointing domain.com
to www.domain.com
using:
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
.