Two scenarios:
I need to condense 5 domains to http://mydomain.com/
http://mydomain.com
http://www.mydomain.com
http://my-domain.com
http://www.my-domain.com
http://new.mydomain.com
Same for this one, condense all 3 to http://forum.mydomain.com/
http://forum.mydomain.com
http://forum.my-domain.com
http://forum.new.mydomain.com
I've tried a number of rules, but can never seem to get it right.
These are active sites, the domains are set up as domain aliases using the Plesk control panel. Some of the rules I've written would forget the site had more URL after the ".com/" ended.
Hopefully somebody here has the right answer. Thanks.