Forum Moderators: coopster
What is the problem is.. they are redirecting all site1.com/* pages to root
of site2.com. It is not getting redirected to particular page.
when i contacted with yahoo webhosting service. they said. they are not supporting it.
Is there any way for me, to get site1.com/* url from site2.com.
When control came to site2.com... how can i know, from which url it got redirected?
header("location: [site2.com"...] . $_SERVER['PHP_SELF']);
there might be another way! u might want other answers
header("HTTP/1.1 Moved Permanently");
header("location: http://www.example.com" . $_SERVER['REQUEST_URI']);
I switched to REQUEST_URI in case there is any type of rewrite or anything, because it will be the URL in the browser address bar, where PHP_SELF may not.