The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

redirect without htaccess?

Discussion in 'General Discussion' started by Pputnik, Oct 7, 2016.

Tags:
  1. Pputnik

    Pputnik Member

    Joined:
    May 20, 2016
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Poland
    cPanel Access Level:
    Root Administrator
    Hello,

    I want to redirect
    1. www to non-www
    2. http to https

    but without htaccess, in apache config only. I know it's possible, how should I do it properly?

    Reasons: I have certificate for non-www only and I want better performance.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page