[thelist] Redirection technique?

Ken Schaefer ken at adOpenStatic.com
Fri Nov 28 19:24:41 CST 2003


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Bob Easton" <bob at eleaston.com>
Subject: [thelist] Redirection technique?


: Seeking advice for a technique that accommodates the following:
: - Moving and reorganizing a site of about 750 pages.
: - Not a direct mappng of www.x.com/x.html to www.y.com/x.html.
: - Many individual page urls will change.
: - Must be invisible to user.
: - Must be Google friendly. (301 Permanently Moved)
: - Must not require changing original page.html to some
: other file type (.asp, .php)
: - IIS hosting.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You don't ask for much do you? :-)

You can either manually configure IIS to tell it where content for page
x.html comes from (either via the GUI or via scripting). In IIS 4/5 however
this does require some existing file to exist that you set the properties
on. Alternatively, you can redirect a whole folder at a time without the
individual files existing.

Otherwise, write an ISAPI filter.

In either case you may have issues if you're using a hosted solution, and
the hosting company won't give you access to the IIS config.

Perhaps easier to implement would be a custom 404 error handler that could
set the 301 header, and redirect the user, however this may not be
completely transparent to the end user.

Cheers
Ken



More information about the thelist mailing list