|
|
#1 (permalink) |
|
Senior Member
Join Date: Jan 2007
Posts: 383
|
I found this, but it only works if the original page that the redirect is is an .asp page. I'd like to change a .htm page into another page
<%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.automotivetouchup.com" %> I'd also love to take my affiliate program and allow my affiliate links to count as inbounds. The page that the affiliate link goes to looks like this: <% MerchantID = Request.QueryString("MerchantID") ' Perform DefaultParameter processing. If IsEmpty(MerchantID) Or MerchantID = "" Then MerchantID = 0 End If session("mallid")=MerchantID ' find next page to display ipaddress = (Request.ServerVariables("SERVER_NAME")) whatsnext = (Request.QueryString("NextPage")) ' Perform DefaultParameter processing. If IsEmpty(whatsnext) Or whatsnext = "" Then whatsnext = "index.htm" End If gostring = "http://" & ipaddress & "/" & whatsnext Response.Redirect (gostring) %> Is there something I'd need to change to make them count as a backlink using a 301 redirect, but still keep tracking? Any help is much, much appreciated. |
|
|
|