I own 2 domains sio-india.org and sio-india.com
What i want to do is redirect all the subdomains from 1st domain to 2nd domain. eg. home.sio-india.org to home.sio-india.com but i dont want to redirect sio-india.org to sio-india.com and also dont want to redirect www.sio-india.org to www.sio-india.com
Please help
I am using this code in htaccess but it is not working.
RewriteCond %{HTTP_HOST} ^(.*)sio-india\.org$ [NC]
RewriteRule ^(.*)$ http://%1sio-india.com/$1 [R=301,L]
Please hepl me I am stuck.
//home.sio-india.orgto//home.sio-india.com; Leave//sio-india.orgalone; Leave//sio-india.comalone. Any other variations? What aboutwwwvariations? And do all these sites live in the same webroot? – artlung Jun 15 '10 at 4:23