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!

RewriteEngine On

Discussion in 'EasyApache' started by Mr.TnT, Feb 5, 2016.

  1. Mr.TnT

    Mr.TnT Member

    Joined:
    Jan 24, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Saudi Arabia / Lebanon
    cPanel Access Level:
    Root Administrator
    hi

    i've tried to activate RewriteEngine via .htaccess but it doesn't work for me

    i just want to redirects HTTP to HTTPS

    ex: from \ http:// domain - TO - HTTPS:// domain automatically
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I suggest disabling those entries, and configuring the redirect with the "Redirects" option in cPanel. This automatically adds the correct rules to your .htaccess file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mr.TnT

    Mr.TnT Member

    Joined:
    Jan 24, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Saudi Arabia / Lebanon
    cPanel Access Level:
    Root Administrator
    hi

    i've try it befor

    but it came with this error:
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,965
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    What's the specific error message in /usr/local/apache/logs/error_log when browsing your website after using the "Redirects" option in cPanel?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - RewriteEngine
  1. trdunya
    Replies:
    4
    Views:
    1,250

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