Click to See Complete Forum and Search --> : URL Redirection


maxtech
03-16-2003, 12:40 PM
I hv 2 domains; lets say abc.com and def.com. My main site is at abc.com . Now I wish that whenever ( and if any) user goes to other domain (def.com) then the visitor should automatically be redirected to index.html page of abc.com.

And pls also guide me that what to do in case the visitor browser is not Java enabled. So the code should be such that it works in almost all kinds of cases.

Pls help & guide.
Omar

Nevermore
03-16-2003, 01:00 PM
In the head place this:

<META HTTP-EQUIV="Refresh" CONTENT="3 ;URL=yoururl.htm ">

This isn't JavaScript so it should be pretty compatible. To change the delay before redirection, change he red number, or to change the URL to redirect to, change the text in blue.