i have multiple naked domains and i want to redirect those domains so that they begin with www.redirecteddomain.com. i have this .htaccess file which works with on domain how to generalize this ?
RewriteEngine On
RewriteCond %{HTTP_HOST} ^guvam\.com$
RewriteRule (.*) http://www.guvam.com$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]