[WEB4LIB] Re: Thanks for Website Redirect Help

Nancy Sosna Bohm plum at ulink.net
Wed Jan 29 23:44:54 EST 2003


<!--
Another, slightly funky alternative, is to use a frame with 2 rows in which
the top row is 100% and the bottom row is what is left over. The source for
the top row is the url of the index page to which you want the users
directed.
The code below would be saved as 'index.html.'

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<FRAMESET ROWS="100%, * " frameborder="no" framespacing=0 border=0>
<FRAME SRC=http://url_to which you_want_users_to_be_directed
NAME="mainwindow" frameborder="no" framespacing="0" marginheight="0"
marginwidth="0">
</FRAME>
</FRAMESET>
<NOFRAMES>
<H2 align=center>Your browser does not support frames.  We recommend
upgrading your browser.</H2>
<br><br>
Click here to enter the page: <a href="http://url_to which
you_want_users_to_be_directed">url_to which
you_want_users_to_be_directed</a>
</NOFRAMES>
</HTML>

-->
----- Original Message -----
From: <wl-mw at msln.net>
To: "Multiple recipients of list" <web4lib at webjunction.org>
Sent: Wednesday, January 29, 2003 5:59 PM
Subject: [WEB4LIB] Re: Thanks for Website Redirect Help


> Hi, Andrew,
>
> I don't think I can use mod_rewrite since I am not in charge of the server
> (which is an Apache version). The folks who run the server (it's a state
school
> and library network) are the folks we've just cut ties with to go with
another
> server -- we changed both servers and domain names at the same time -- so
I
> don't think they are going to be eager to help us. But this is the route I
am
> pursuing now, via the library board member who made all these changes.
>
> Thanks for the input!
>
> ~ Molly Wms.
> --
> Molly Williams
> Volunteer, Waterboro Public Library, Maine
> ** NEW URL: Weblog: http://www.waterborolibrary.org/blog.htm
>
> Quoting Andrew Stevens <lists at 4serendipity.com>:
>
> >
> > Hi Molly,
> >
> >
> > I second Larry's assertion that server-side redirection is the way
> > to go.
> >
> > If your old server runs apache you can use mod_rewrite to accomplish
> > this.
> >
> > Apache 1.3 URL Rewriting Guide
> > http://httpd.apache.org/docs/misc/rewriteguide.html
> >
> > A Users Guide to URL Rewriting with the Apache Webserver
> > http://www.engelschall.com/pw/apache/rewriteguide/
> >
> > mod_rewrite: A Beginner's Guide to URL Rewriting
> > http://www.webmasterbase.com/article/910
> >
> > The syntax for mod_rewrite can be a little confusing if you haven't
> > used it before.  If you need any help feel free to shoot me an email.
> >
> > If you are using IIS then the following link will get you started:
> >
http://www.microsoft.com/windows2000/en/server/iis/htm/core/iicodirr.htm?id=
17
> >
> >
> > Also, you might want to use a tool, like those mentioned by Patricia,
> > with a find and replace function to hunt out and replace and absolute
> > links pointing to your old domain. While the aforementioned
> > mod_rewrite solution will redirect any stray absolute links pointing to
> > your
> > old server, you probably don't want to be stuck maintaining the old
domain
> > forever.
> >
> > In addition to using a text editor to find and replace text in your
> > files, you can use Perl to find and replace text directly on the
> > server (that is if you have Perl installed).
> >
> > Replacing Text in Multiple Files with Perl
> >
>
http://www.evolt.org/article/Replacing_Text_in_Multiple_Files_with_Perl/17/3
60/
> >
> > I would advise that you first make a complete backup of your site
> > and/or doing a test run on a small subset of your files before trying
> > any site-wide find and replace, since it is possible that your find
> > and replacing might have unintended results.
> >
> >
> > Andrew
> > http://www.4serendipity.com
> >
> >
>




More information about the Web4lib mailing list