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.

How to redirect http to https? without having "index.php" in middle of url?

Discussion in 'General Discussion' started by paramveer, Feb 13, 2014.

  1. paramveer

    paramveer Member

    Joined:
    Oct 22, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Gurgaon
    cPanel Access Level:
    Root Administrator
    suppose a url like this http://www.domain.com/x-y-z

    after using ssl the url will be https://www.domain.com/x-y-z

    but when i am editing this url means removing "www" https://domain.com/x-y-z then it is redirecting to https://www.domain.com/index.php/x-y-z

    first thing i want know that why it is redirecting with index.php and how to remove it.

    NOTE: having 301 redirect for "www" for canonical issue.

    second thing i want to know that how to redirect or open a website which is having a url like http://domain.com to https://www.domain.com means there should be https and www both.

    third one i need to know that if i am redirecting through cpanel then the website going inaccessible. why?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page