we need to set-up the below redirection.
we have two stores.
1. exmple.com
2. abcd.com
http://www.exmple.com should redirect to http://www.abcd.com (HTTP to HTTP)
AND
https://www.exmple.com should redirect to https://www.abcd.com (HTTPS to HTTPS)
Please help me with the htaccess rewrite rules to set-up the redirection.