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.

Redirecting non-www to www, discards /billing/ directory

Discussion in 'General Discussion' started by sonuyos, Apr 22, 2016.

  1. sonuyos

    sonuyos Registered

    Joined:
    Mar 18, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hey guys,

    I need help,

    i redirected non www to www, but whenever i got to www.DOMAIN.com/billing, it doesnt open and redirect me to main website i.e. www.DOMAIN.com.

    However it happens when i enable Wildcard entry,

    if i dont enable wildcard then it just https://DOMAIN.com/billing/

    Any way to figure this out?

    My main objective is to redirect all non www to www and http to https.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the contents of your .htaccess files within the public_html and billing directories for this account? Ensure you remove any identifying domain name and IP address information, and use CODE tags when pasting the data into the thread.

    Thank you.
     
Loading...

Share This Page