Link to home
Start Free TrialLog in
Avatar of Linux Guru
Linux GuruFlag for India

asked on

How to Redirect a subdomain page to another page?

I would like to redirect a following subdomain page to another page of the same domain.. please guide what will be the code...

URL - subdomain.domain.com/profile.php?mode=register

Redirect to - subdomain.domain.com/ucp.php?mode=register

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of chenry334
chenry334

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Linux Guru

ASKER

Hello,

Thank you your reply. Is it possible to redirect using .htaccess?
Avatar of chenry334
chenry334

Yes using the same thing you can in an htaccess file.

Pretty good explanation here: http://www.javascriptkit.com/howto/htaccess7.shtml
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial