Ok, I have a domain.com, a domain.net, and a domain.org that all need to be pointed to https://domain.com via a 301 redirect. That includes all www's as well.... so [domain.org,...] for example, would go to https://domain.com
I could spend the next three hours trying to figure it out, but I was hoping one of you smart people could lend me a hand....
I would guess if you used this search in your favorite SE: redirect to a new domain 301 site:webmasterworld.com/forum92/
Visited this thread [webmasterworld.com] and read post #4.
You could find the answer already posted here numerous times =)
Then we would probably be very happy to help you if you get stuck with something you are trying to make work.
You might also visit the Apache Library [webmasterworld.com] and Forum Charter [webmasterworld.com] to get a better understanding of mod_rewrite.
BTW You can remove the third line of the code I suggested if the domains are all hosted separately, and the first line may or may not be necessary depending on server configuration -- you may need to test it both ways.
Its not that I'm to lazy to do a search of webmaster world for myself, its that there is so much different information available that I feel unqualified to separate out exactly what I need from the rest of what is out there. I've always been very poor at using regular expressions, so I appreciate the expretise of those who know better than me.