S
shank
On our website www.mydomain.com we have extra domain names parked.
Assume you enter the site with www.extradomain.com
I redirect with the following code:
<%
sname = UCASE(Request.ServerVariables("SERVER_NAME"))
If InStr(sname,"EXTRADOMAIN") <> 0 then
response.redirect "mypage.asp"
End If
%>
It redirects to the proper page, but the URL in the browser address bar
reverts to:
http://www.mydomain.com/fld/fld2.asp
Technically, this is correct.
However, is there a way for me to force the address bar to stay:
www.extradomain.com ?
(personal preference)
thanks!
Assume you enter the site with www.extradomain.com
I redirect with the following code:
<%
sname = UCASE(Request.ServerVariables("SERVER_NAME"))
If InStr(sname,"EXTRADOMAIN") <> 0 then
response.redirect "mypage.asp"
End If
%>
It redirects to the proper page, but the URL in the browser address bar
reverts to:
http://www.mydomain.com/fld/fld2.asp
Technically, this is correct.
However, is there a way for me to force the address bar to stay:
www.extradomain.com ?
(personal preference)
thanks!