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!

Subdomain Redirect All URLs

Discussion in 'General Discussion' started by lloyd252, May 8, 2012.

  1. lloyd252

    lloyd252 Member

    Joined:
    Sep 24, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    51
    I added a subdomain abc.mysite.com and included redirection to a folder on the main domain (mysite.com/abc). It works perfectly.

    However, it is not redirecting any URLs that are part of the subdomain. So if someone goes to abc.mysite.com/page.php I want it to redirect to mysite.com/abc/page.php. Instead it does not redirect at all.

    What should I do?

    Thanks.
     
  2. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    392
    Likes Received:
    11
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Wildcard Redirect is what you are looking for:

    Redirects
     
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