.htaccess question for the pros

Discussion in 'Apache' started by Chris Wheeler, Jan 31, 2015.

  1. #1
    Hello, I have an .htaccess problem that I've been a few days trying to figure out. My apache experience is limited so please be kind.

    I have four domains, .com, .net, .org and .ca. I also have an ssl certificate. What I would like to do is redirect any domain that's not .com, to .com. also I would like to force ssl and non-www.
    FYI, all my domains are on the same host.

    Any help is greatly appreciated.

    Thanks
     
    Chris Wheeler, Jan 31, 2015 IP
  2. MisterHost.NET

    MisterHost.NET Greenhorn

    Messages:
    18
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    5
    #2
    What do you mean with this one? You mean non www to www?
     
    MisterHost.NET, Feb 9, 2015 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    No, he means he wants to forward org, net, ca to the com domain
     
    PoPSiCLe, Feb 9, 2015 IP