By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,599 Members | 1,872 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,599 IT Pros & Developers. It's quick & easy.

bookmark redirection

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.