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!

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:
    110
    Likes Received:
    1
    Trophy Points:
    18
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    110
    Likes Received:
    1
    Trophy Points:
    18
    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:
    156
Loading...

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