Re: 301 redirect

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69868
interpreted = N
texte = Yeah I know I can do it in .htaccess, but it would require me to list 700+ old "pages" (dynamic site) in .htaccess and then do the 301 redirect. Somehow that just feels dumb, and even if not dumb, what woulkd be the performance hit of an .htaccess with 700+ rules in it? I currently have the redirects for all the old URLs working, but they do a [redirect], which of course is a 302. The preferred solution for me is to throw out a [returnraw] 301 rather than a [redirect]... there has got to be a way... -Dan On Wed, 27 Feb 2008 12:10:14 +1100 Stuart Tremain wrote: > Never tried it, I usually do it through my server or mod_rewrite > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > On 27/02/2008, at 11:42 AM, Dan Strong wrote: > >> Nobody? >> >> On Tue, 26 Feb 2008 11:19:04 -0800 >> "Dan Strong" wrote: >>> Anybody gotten a 301 to work? >>> This ain't working: >>> --------------------- >>> [ReturnRaw]HTTP/1.0 301 Moved permenantly >>> Location: http://www.mydomain.com/ >>> blah blah blah >>> [/ReturnRaw] >>> I can get a 302 & 404 to work, but not 301... >>> -Dan >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> > >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > > >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] 301 redirect ("Matthew A Perosi, Psi Prime" 2017)
  2. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  3. Re: [WebDNA] 301 redirect (Brian Burton 2016)
  4. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  5. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  6. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  7. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  8. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  9. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  10. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  11. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  12. [WebDNA] 301 redirect (Stuart Tremain 2016)
  13. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  14. Re: [WebDNA] 301 redirect (Govinda 2010)
  15. Re: [WebDNA] 301 redirect (Tom Duke 2010)
  16. [WebDNA] 301 redirect (Stuart Tremain 2010)
  17. Re: [WebDNA] 301 redirect on linux (Kenneth Grome 2010)
  18. Re: [WebDNA] 301 redirect on linux (Donovan Brooke 2010)
  19. Re: [WebDNA] 301 redirect on linux (Tom Duke 2010)
  20. Re: [WebDNA] 301 redirect on linux (Kenneth Grome 2010)
  21. [WebDNA] 301 redirect on linux (Tom Duke 2010)
  22. Re: [BULK] Re: [WebDNA] How to code a 301 redirect (Donovan Brooke 2009)
  23. Re: [BULK] Re: [WebDNA] How to code a 301 redirect (Donovan 2009)
  24. [BULK] Re: [WebDNA] How to code a 301 redirect (Clint Davis 2009)
  25. [BULK] Re: [WebDNA] How to code a 301 redirect (Clint Davis 2009)
  26. Re: [WebDNA] How to code a 301 redirect (=?ISO-8859-1?Q?Claude_G=E9linas?= 2008)
  27. Re: [WebDNA] How to code a 301 redirect (Chris 2008)
  28. RE: [WebDNA] How to code a 301 redirect ("Sue Blesch" 2008)
  29. Re: [WebDNA] How to code a 301 redirect (Donovan Brooke 2008)
  30. Re: [WebDNA] How to code a 301 redirect (Gary Krockover 2008)
  31. Re: [WebDNA] How to code a 301 redirect (Bob Minor 2008)
  32. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  33. Re: [WebDNA] How to code a 301 redirect ("Tom Duke" 2008)
  34. Re: [WebDNA] How to code a 301 redirect (Grant Hulbert 2008)
  35. Re: [WebDNA] How to code a 301 redirect (Gary Krockover 2008)
  36. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  37. Re: [WebDNA] How to code a 301 redirect ("Tom Duke" 2008)
  38. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  39. Re: [WebDNA] How to code a 301 redirect (Bob Minor 2008)
  40. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  41. Re: [WebDNA] How to code a 301 redirect (Frank Nordberg 2008)
  42. Re: [WebDNA] How to code a 301 redirect ("Tom Duke" 2008)
  43. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  44. Re: [WebDNA] How to code a 301 redirect ("Tom Duke" 2008)
  45. Re: [WebDNA] How to code a 301 redirect ("Dan Strong" 2008)
  46. [WebDNA] How to code a 301 redirect ("Tom Duke" 2008)
  47. Re: 301 redirect ( Stuart Tremain 2008)
  48. Re: 301 redirect ( "Dan Strong" 2008)
  49. Re: 301 redirect ( Stuart Tremain 2008)
  50. Re: 301 redirect ( "Dan Strong" 2008)
  51. Re: 301 redirect ( Stuart Tremain 2008)
  52. Re: 301 redirect ( "Dan Strong" 2008)
  53. 301 redirect ( "Dan Strong" 2008)
Yeah I know I can do it in .htaccess, but it would require me to list 700+ old "pages" (dynamic site) in .htaccess and then do the 301 redirect. Somehow that just feels dumb, and even if not dumb, what woulkd be the performance hit of an .htaccess with 700+ rules in it? I currently have the redirects for all the old URLs working, but they do a [redirect], which of course is a 302. The preferred solution for me is to throw out a [returnraw] 301 rather than a [redirect]... there has got to be a way... -Dan On Wed, 27 Feb 2008 12:10:14 +1100 Stuart Tremain wrote: > Never tried it, I usually do it through my server or mod_rewrite > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > On 27/02/2008, at 11:42 AM, Dan Strong wrote: > >> Nobody? >> >> On Tue, 26 Feb 2008 11:19:04 -0800 >> "Dan Strong" wrote: >>> Anybody gotten a 301 to work? >>> This ain't working: >>> --------------------- >>> [returnraw]HTTP/1.0 301 Moved permenantly >>> Location: http://www.mydomain.com/ >>> blah blah blah >>> [/ReturnRaw] >>> I can get a 302 & 404 to work, but not 301... >>> -Dan >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> > >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > > >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Dan Strong"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Repeating Fields (1997) So many lookers, hey smith micro (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Sorting by date (1997) Country & Ship-to address & other fields ? (1997) Re:Dumb Question about Docs (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Showif date range comparison (1999) Verify entry into a text field (2005) appending to my last post (1999) [LOOKUP] (1997) ConverChars (1999) How can I record purchases to a database? (1998) Help formatting search results w/ table (1997) What date is it anyway? (2004) NT 4.0/IIS WebCat Installation (1998) Using Plug-In while running 1.6.1 (1997) Global replace (2000) Configuring E-mail (1997) When is unitShipCost calculated? (1998)