Page is a not externally linkable
Carpaccio - 8:56 pm on Jan 25, 2008 (gmt 0)
<html> <head> <title>Redirect Script with JavaScript</title> <script language=javascript> var whois=location+" " if (whois.indexOf("yourdomain.com")!= -1) { window.location ="page1.html" } if (whois.indexOf("www.yourdomain.com")!= -1) { window.location ="page1.html" } if (whois.indexOf("yourotherdomain.com")!= -1) { window.location ="page2.html" } if (whois.indexOf("www.yourotherdomain.com")!= -1) { window.location ="page2.html" } if (whois.indexOf("subdomain1.yourdomain.com")!= -1) { window.location ="page3.html" } if (whois.indexOf("subdomain2.yourdomain.com")!= -1) { window.location ="page4.html" } </script> </head> <body> </body> </html>
This is the code i've been given for the redirection index file, will this have a negative effect on my websites coming up in the search engines?