Hi, All
Could someone point me in the right direction in changing the following code to server-side VBScript with asp.
Thanks.
Could someone point me in the right direction in changing the following code to server-side VBScript with asp.
Code:
<script type="text/javascript">
if(document.location.href=="[URL unfurl="true"]http://www.olddomain1.com"||"http://olddomain1.com"){document.location.href=="http://www.olddomain1.com/forsale.asp"};[/URL]
if(document.location.href=="[URL unfurl="true"]http://www.newdomain2.com"||"http://newdomain2.com"){document.location.href=="http://www.newdomain2.com/index.asp"};[/URL]
if(document.location.href=="[URL unfurl="true"]http://255.255.255.255"){document.location.href=="http://255.255.255.255/404error.html"};[/URL]
</script>
Thanks.