Forum Moderators: open
Right now when you can reach my server my www.server.com and www.mycomputer.com the www.server.com is the main website and the www.mycomputer.com is a second website I need to maintain. I am trying to solve this problem by using a JavaScript that will load in the default page. This script will allow look at the current url and say if I am www.mcomputer.com the go to www.mcomputer.com/someware else it will load the main page for www.server.com
Here is what I have come up with so far
<script language="JavaScript">
if (parent.name = "www.mycomputer.com")
}
window.location = "/someware"
}
</script>
this will move all of the requests from eather www.server.com or www.mycomputer.com to the someware folder. What have I done wrong
What have I done wrong
[webmasterworld.com...]