473,395 Members | 1,343 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,395 software developers and data experts.

Using "standard redirects" so as not to "break the back button"

Dear Group,

I haven't been on this newsgroup in years. Hello again to village
elders Lars Eighner, Alan Flavelle, and Jukka Korpela! :-)

What brings me back? I was using the W3C QA to validate my XHTML the
other day, and I came across this "tip of the day" called "Use standard
redirects: don't break the back button!" It said, "If you want
http://www.example.org/foo to actually display what's at
http://www.example.org/bar you should NOT [emphasis mine] use "refresh"
techniques like :

<META HTTP-EQUIV=REFRESH CONTENT="1; URL=http://www.example.org/bar">."

Well, I'll be damned! I never knew that! It says to "Use HTTP redirects
instead." Shucks! I'm just a lowly XHTML/CSS author who don't know
nothin' 'bout birthin' babies-- I mean writing .htaccess files with
mod_rewrite! I tried following the links and reading about "redirect"
and mod_rewrite, really I did, but it just didn't make sense to me.

Now, I've always depended on the kindness of strangers, so I am posing
my dillema here in the hope that someone can tell me what to do in
plain <<Anglais>>.

I would like to establish the following redirects "the right way":

http://danielgreene.com/grandpa.html to
http://danielgreene.com/2004/02/12/e...ernest-greene/

http://danielgreene.com/granny.html to
http://danielgreene.com/1999/11/04/e...helene-greene/

http://danielgreene.com/lawresep.html
http://danielgreene.com/2001/05/03/l...loyed-persons/

Et

cetera.

Can anyone tell me what code to write, or point me in the right
direction? I have already spent two hours reading what is Greek to me
and I still don't know exactly what to do. FYI, my host, "pair
Networks," uses Apache servers.

TIA!

Daniel
------
Lowly author of one of the first documents on the Web ever to use CSS:
http://danielgreene.com/style.html

Aug 22 '06 #1
4 2107
On Tue, 22 Aug 2006, Daniel Greene wrote:
I would like to establish the following redirects "the right way":
[...]
Can anyone tell me what code to write, or point me in the right
direction?
Refer to <news:comp.infosystems.www.servers.unix>

Aug 22 '06 #2
In article <2006082207441816807-nospam@danielgreenecom>,
Daniel Greene <no****@danielgreene.comwrote:
Can anyone tell me what code to write, or point me in the right
direction? I have already spent two hours reading what is Greek to me
and I still don't know exactly what to do. FYI, my host, "pair
Networks," uses Apache servers.
Hi Daniel,
The newsgroup alt.apache.configuration would be a good place to start.
You could also Google for this:
htaccess redirect example

Don't forget that redirects must respond with a fully-qualified URL, not
a relative one.

Good luck

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Aug 22 '06 #3
In message <2006082207441816807-nospam@danielgreenecom>, Daniel Greene
<no****@danielgreene.comwrites
>Alan Flavelle,
Is there something 'she' should tell us?

--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>
Aug 23 '06 #4
On Wed, 23 Aug 2006 20:24:54 +0100, Andy Mabbett wrote:
In message <2006082207441816807-nospam@danielgreenecom>, Daniel Greene
<no****@danielgreene.comwrites
>>Alan Flavelle,

Is there something 'she' should tell us?
It's only a surname dude ... now, Alanna J Flavell may have something to
say ... :-P

Aug 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kurda Yon | last post by:
Sorry for a very stupid question. Can you tell me what does the following html source does if I press button "Send"? If I read this code by Netscaspe from my local file system and then press...
2
by: René Kjellerup | last post by:
Hi' all, just a short question, How do you color a button, created with the CreateWindowEx() API call I'm using the raw Windows API, and I don't intend to use MFC just yet. Not before I've...
38
by: Jack Klein | last post by:
Many people, including me, like having hard copy books at hand, along with electronic editions. When I first heard of this book several months ago, I pre-ordered a copy. It arrived from...
4
by: Luke Wu | last post by:
I am just wondering what the following terms usually mean: 1) "Standard C" 2) "K&R C" 3) "ANSI C" I am pretty sure "ANSI C" usually refers to the C89 standard, but what
2
by: VB Programmer | last post by:
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the...
3
by: Mike Wilson | last post by:
How do I turn on the VB6 "Break on All Errors" equivilent in VB.NET 2005? I want to bypass my error handling for the time being while I developer-test some parts of my application. Many...
5
by: funkyj | last post by:
I love pexpect because it means I may never have to use expect again (I don't do any heavy expect lifting -- I just need simple tty control)! As a python advocate I find it embarassing how...
7
by: iKiLL | last post by:
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background.
11
by: Jan | last post by:
Hi: Here's a problem I've had for a long time. The client is really running out of patience, and I have no answers. Access2003, front- and back-end. Single form with 4 subforms (each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.