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

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

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


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

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

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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.