I am setting up a new site and am using 2 domains for the site, one is domain-A.com which has a SSL/HTTPS cert on it and domain-B.co.uk
I want all visitors to go to domain-B.co.uk, then when they go to the portal, billing etc… go to https://www.domain-A.com/portal/FILENAME.php
Then when they leave https://www.domain-A.com/portal/ change the domain back to http://domain-B.co.uk/FILENAME.php
So basically using domain-A for set forums that I want SSL on, anything else use domain-B.
I am not sure how to do this, any help please?
Thanks,
Garry
Try putting these rules in the htaccess file in your document root: