470,638 Members | 1,581 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,638 developers. It's quick & easy.

bookmark redirection

Hi,
I have a page on my website that is driven dynamically off of a
database by a perl/cgi script. The page contents are essentially
reports of the following
url: https://www.xyz.com/abc/def/jkl/cgi-...opr.pl?id=1358

Users are have that bookmarked. Now, that we have are going to be
rolling out a new site, I would like to redirect them to that, which
has a similar url:
https://www.xyz.com/zzz/cgi-bin/lmn_opr.pl?id=1358

As you can see, the url has been collapsed by two directory levels but
everything else is the same.
Is it feasible to incorporate some sort of logic in a script that will
make such a redirection possible.

Any suggestions would be immensely appreciated.

Thanks,
Slash
Jul 20 '05 #1
1 1513
slash wrote on 09 Dec 2003 at Tue, 09 Dec 2003 01:15:08 GMT:
Hi,
I have a page on my website that is driven dynamically off of a
database by a perl/cgi script. The page contents are essentially
reports of the following
url: https://www.xyz.com/abc/def/jkl/cgi-...opr.pl?id=1358

Users are have that bookmarked. Now, that we have are going to
be rolling out a new site, I would like to redirect them to
that, which has a similar url:
https://www.xyz.com/zzz/cgi-bin/lmn_opr.pl?id=1358

As you can see, the url has been collapsed by two directory
levels but everything else is the same.
Is it feasible to incorporate some sort of logic in a script
that will make such a redirection possible.

Any suggestions would be immensely appreciated.


Don't do it client-side. Do it server-side. Maintain a single
redirection script that forwards the page request to the new
location. Client-side redirects are only guaranteed to do one of two
things: break 'Back' button functionality, or nothing at all (when
the client disables JS).

Read the W3C's style guidelines: http://www.w3.org/Provider/Style/
Specifically, "Cool URIs don't change".

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk")
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Bookmark | last post: by
2 posts views Thread by Thelma Lubkin | last post: by
6 posts views Thread by Chris | last post: by
13 posts views Thread by souissipro | last post: by
2 posts views Thread by Alan T | last post: by
reply views Thread by Alan T | last post: by
11 posts views Thread by Tom Clavel | last post: by
1 post views Thread by Korara | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.