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...-DanOn 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:
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...-DanOn 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)