PHP Script for redirecting to url
- by Aruna
hi,
i am having a 2 Urls like http://www.abc.com and http://www.xyz.com.
I am trying to redirect to http://www.xyz.com whenever i type http://www.abc.com in the browser.
And also when the user types http://www.abc.com/index.php?option=com_content&view=article&id=46&Itemid=55 something like this ie. any query next to abc.com then i am trying to redirect to http://www.xyz.com/index.php?option=com_content&view=article&id=46&Itemid=55.
how to do this in Php... Please help me..