Redirect domain to specific url on another domain

Discussion in 'Apache' started by mads, Jun 30, 2015.

  1. #1
    Hi,

    I have a domain A that I would like to redirect to domain B, but all the urls on domain A must redirect to the same url on domain B.

    i.e.
    a.com -> b.com/x/
    a.com/x/ -> b.com/x/
    a.com/y/ -> b.com/x/
    a.com/z/ -> b.com/x/

    Anyone know how to do that?

    Thanks,
    Mads
     
    mads, Jun 30, 2015 IP