we launched a new site and I want to properly redirect the pages on the old version of the site which are indexed in the SE's over to the cooresponding pages on the new site. most of these pages are .htm pages (some are .asp). Here is what I was doing:
I would simply delete the info on the page and replace it with this code:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", " http://www.adproductsco.com/productc...idCategory=530"
%>
and then upload the page to the server. When I visited the old page I expected it to re-direct over to the new site but it just comes up blank. I feel like this should be a simple task but it is proving to be more frustrating than anything.
I would appreciate any advise!
|