bookmark redirection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • slash

    #1

    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:




    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
  • Michael Winter

    #2
    Re: bookmark redirection

    slash wrote on 09 Dec 2003 at Tue, 09 Dec 2003 01:15:08 GMT:
    [color=blue]
    > 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.[/color]

    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.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk")

    Comment

    Working...