Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Proper https redirects solution?

Discussion in 'Bind/DNS/Nameserver' started by Ellis Crowther, Jan 23, 2019.

  1. Ellis Crowther

    Ellis Crowther Registered

    Joined:
    Jan 23, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Worcester
    cPanel Access Level:
    Website Owner
    Can anyone supply a foolproof 301 redirect that i can add to htaccess that will redirect all url requests to the https://www. equivalent

    For example:
    Code:
    http://www.example.com/about -> https://www.example.com/about
    http://example.com/about -> https://www.example.com/about
    https://example.com/about -> https://www.example.com/about
    
    We are hosting more and more sites using cPanel, so it would be useful to have a solution for all of these.
     
    #1 Ellis Crowther, Jan 23, 2019
    Last edited by a moderator: Jan 23, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,815
    Likes Received:
    444
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice