View Full Version : Redirect Scripting Help

DD's Down
05-26-2006, 07:49 PM
As you can tell from the scenario below, my ability to use javascript is limited to cutting-n-pasting existing scripts found online. I have been unable to find anything online thus far that solves my problem, so any assistance from this forum would be much appreciated.

I have domain A pointing to domain B. My web hosting service for domain B will only allow the pointing domain (A) to go to the default/index page of B. I would like to have the pointing domain (A) go to a page on B, other than the main/index page. The web host's recommended solution was to place a general redirect script on the default/index page, but this would redirect ALL visitors, instead of just those trying to get to domain A.

Is there a script that will redirect visitors requesting domain A ONLY, and not all visitors to domain B???

Thank you!!!

Philip M
05-26-2006, 08:52 PM
You can use META REFRESH in your domainA index.html file which will redirect to another page:

<meta http-equiv="REFRESH" content="0; URL=http://www.domainB.com/myotherpage.html">

If you want a delay replace 0 by the number of seconds delay required.

DD's Down
05-26-2006, 09:54 PM
Thanks for the reply Philip. Problem is domain A is simply parked and pointed to domain B. Not technically hosted, so I have no ability to edit/alter code on domain A.