473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1591
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bookmark | last post by:
I have a form that does a few things, such as collect data and than using cdonts emails this data to a place to be parsed. I need to add a bookmark command to this form. I have a javascript...
2
by: Thelma Lubkin | last post by:
With Me!PERSONSLIST.Form.RecordsetClone .FindFirst strID If .NoMatch Then Debug.Print "key " & Key & " nomatch" Exit Sub Else If Me.Dirty Then Me.Dirty = False Debug.Print "A_LOAD bookmark = "...
6
by: Chris | last post by:
I have been learning C and want to write a program and need someone to point me in the write direction. I want to write a program to store all my webpage bookmarks in possibly one file. I want it...
13
by: souissipro | last post by:
Hi, I have written a C program that does some of the functionalities mentionned in my previous topic posted some days ago. This shell should: 1- execute input commands from standard input,...
2
by: Alan T | last post by:
How do I make use of the Bookmarks property so that I can write a text at/below the position of a particular bookmark or the first bookmark ? private Microsoft.Office.Interop.Word.Document...
0
by: Alan T | last post by:
My code can select the content of a Word document between 2 bookmarks: if (bookmarks.Exists("first bookmark") & bookmarks.Exists("second bookmark")) { object oFirstBookmark = ("first...
4
by: zzapper | last post by:
Hi, I use an internal bookmark <form method="post" action="${form_action}#mark1"> to return to the correct place in the page. In case of an error I would wish to return to the top of the...
11
by: Tom Clavel | last post by:
I need to make sure that I am on a different record than I just was on, in a DAO recordset. code fragment: 1. strFind = "thisSource = " & tripID & " AND thisTrip = " & tripID 2. ...
0
by: JosAH | last post by:
Greetings, Introduction At this moment we have a TextProcessor, a LibraryBuilder as well as the Library itself. As you read last week a Library is capable of producing pieces of text in a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.