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.

Redirect main domain to subfolder, the foldername should not be displayed

Discussion in 'General Discussion' started by musti19, Jul 29, 2013.

  1. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,
    im trying to redirect the main domain to subfolder. It works,
    but i wont that the foldername is displayed in URL,
    like: http://domain.com/subfolder

    Is there a solution for this?
    For Addon-Domains it is possible..
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You should be able to use the "Redirects" option within cPanel:

    "cPanel - Domains - Redirects"

    I tested this, and it correctly redirected the primary domain name to a subdirectory and the subdirectory was listed in the browser address bar.

    Thank you.
     
  3. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Yes this is possible, but i mean to redirect the MAINdomain without show the subfoldername in adressbar
     
    #3 musti19, Aug 5, 2013
    Last edited: Aug 5, 2013
  4. P_W

    P_W Active Member

    Joined:
    Oct 7, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page