PHP Script for redirecting to url

Posted by Aruna on Stack Overflow See other posts from Stack Overflow or by Aruna
Published on 2010-04-15T09:47:13Z Indexed on 2010/04/15 9:53 UTC
Read the original article Hit count: 249

Filed under:
|

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..

© Stack Overflow or respective owner

Related posts about redirect

Related posts about php5