Forum Moderators: coopster
Main Domain = www.xyz.com
Sub Domain = www.abc.co.uk
Sub Domain needs to redirect to www.xyz.com and pull data from Central Database regarding www.abc.co.uk.
I want to achieve this without having each domain having something like (ASP) response.redirect("www.xyz.com?ID=23") I would like to use Domain forwarding to reduce costs and have a script which picks up where the client has been redirected from and then displays appropriate information.
Is this possible using PHP?
without having each domain having something like (ASP) response.redirect("www.xyz.com?ID=23")
I don't think so, if I follow. In PHP you would do this with
header("Location: www.xyz.com") [php.net]
Why don't you just use mod_rewrite and pick up the query string after the redirect?