views:

8

answers:

0

Hello,

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

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.