or if they don't, use this javascript in the head portion of the first index page (for company.com). Just change the myHostName and correctLoc variables to what you need, make sure to keep the backslashes at the beginning and end of myHostName and put forward slashes in front of any periods.
Quote:
<SCRIPT language="Javascript">
function reDirect() {
var myHostName = /\.companyonline\.com/;
var correctLoc = "dir/page.html";
var url = window.location.href;
if (url.search(myHostName) != -1) {
document.URL = correctLoc;
}
}
</SCRIPT>
|
then in the body tags put
Quote:
|
<BODY LANGUAGE=javascript onload="reDirect()">
|
semi-tested