301 redirect of dynamic address

Comersus Version: 6045
Database type: Access
Frequency: Random issue

Im moving my website to another provider and a new domain name … I dont want to lose my google indexing.

Does anyone know how I can do a 301 redirect in ASP?

Ive added a field in the database "redirect" and manually inserted the new adress details so i can call the products based on idStore.

Ive got the code below which works with a static URl .. but as soon as I call the field it doesnt like it.

response.Status = "301 Moved Permanently"
response.addheader "location", "http://www.activa.com.au/"

any help appreciated

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *