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!

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

    Oct 22, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    suppose a url like this

    after using ssl the url will be

    but when i am editing this url means removing "www" then it is redirecting to

    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 to 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

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know what entries exist in the .htaccess file within the public_html directory for this account?

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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