301 Moved permanently - how to?

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Mon, 7 Jan 2002 11:10:46 +0100
 To:  "'hwg-techniques(at)mail.hwg.org'" <hwg-techniques(at)mail.hwg.org>
  todo: View Thread, Original
Okay,


problem =

My site is now under its own domain name and the former url will be
de-activated on february 28th.  I need to make it clear to the search
engines so that they actually keep the data that has been submitted up till
now, except the URL.


solution =

Set up a http header with  301 - Moved permanently error code including a
redirect to the new URL.  Some robots understand this and will update their
database while spidering (eg. google).


but...

How do I set up a header so that this is achieved?  I have access to
.htaccess, php, perl cgi.  If anyone could help me out on this, I'd be very
grateful.


Thanks in advance!


- Kayjey -
www.fiatcoupe.net

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.