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.

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:
    1
    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:
    383
    Likes Received:
    7
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Wildcard Redirect is what you are looking for:

    Redirects
     
Loading...

Share This Page