
January 30th, 2006, 02:59 PM
|
|
Contributing User
|
|
Join Date: Jul 2004
Location: India
Posts: 121

Time spent in forums: 13 h 33 m 58 sec
Reputation Power: 5
|
|
|
Does redirection for associating 2 domians with 1 hosting a/c, be harmful for google?
Hi All,
I have a web hosting, and want know to associate another domain with the same web hosting account, the option the web hosting is giving is to use the following code:-
Quote:
<%@Language=VBScript%>
<%
SiteNameURL = Request.ServerVariables("SERVER_NAME")
Select Case SiteNameURL
Case "yourdomain.com"
Response.Redirect "page1.asp"
Case "www.yourdomain.com"
Response.Redirect "page1.asp"
Case "yourotherdomain.com"
Response.Redirect "page2.asp"
Case "www.yourotherdomain.com"
Response.Redirect "page2.asp"
Case "subdomain1.yourdomain.com"
Response.Redirect "page3.asp"
Case "subdomain2.yourdomain.com"
Response.Redirect "page4.asp"
Case Else 'redirecting everything other than cases selected above
Response.Redirect "other.asp"
End Select
%> |
I want to know will search engines like google/yahoo, etc. ban or skip all my domains after using the above code for recirection?
Thanks
|