Mike Brind wrote on 26 apr 2006 in
microsoft.public.inetserver.asp.general:
Hugh Welford wrote: Hi - I have an obsolete site residing in a host domain sub-directory,
many pages of which are listed in google. Dont want to lose valuable
google listings.
Can anyone tell me how to re-direct .htm pages? If the whole site
were deleted, is it possible to customise the 404 page not found
page so that it re-directs to the new site?
Thanks
Hugh
<meta http-equiv="refresh" content="n(secs);
url=http://www.wherever.com/newfile" />
but you really should have asked this question in an html group.
... except when this old site is equiped with ASP and set to run ASP on
it's .html pages. Then you could set on each page:
<%
response.redirect "http://mynewsite.xyz" &_
request.servervariables("SCRIPT_NAME")
%>
=============
... or: when this old site is equiped with ASP and and has a dedicated
404.asp page, that is code accessable to you, and could be set to detect
the actual failed page request and redirect accordingly.
=============
However, I then would recomment making a noindex, follow construction for
updating the bots.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)