What is the best way to redirect the user coming from one URL to another?
I have 2 locations.
http:mysite.com http://public.mysite.com
I want the users who type http://mysite.com to be redirected to http://public.mysite.com It would have been easy if there were 2 different index.php files, but the index.php file is the same in both the cases.