Re: redirect within the ErrorMessages.db
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54600
interpreted = N
texte = >Hello,>>I am trying to allow for a 'simple' URL for member pages on my site e.g.>www.domain.tld/members/username/>>In an attempt to accomplish this, I have added the following (without line breaks) to process the URL and do a redirect to the proper URL. With this code, I get the proper membername, but the redirect never happens.Try this:[showif [thisurl]^members][ListWords Words=[thisurl]&Delimiters=/][showif [index]=3][text show=f]mbr_name=[word][/text][/showif][/ListWords][mbr_name] (for verification purposes)[search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]][hideif [numfound]=0][founditems][REDIRECT url=http://www.domain.tld/profiles/details.html?record_id=[record_id]][/founditems][/hideif][showif [numfound]=0]redirect to some other page[/showif][/search][/showif]-------------------------------------------------------------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:
>Hello,>>I am trying to allow for a 'simple' URL for member pages on my site e.g.>www.domain.tld/members/username/>>In an attempt to accomplish this, I have added the following (without line breaks) to process the URL and do a redirect to the proper URL. With this code, I get the proper membername, but the redirect never happens.Try this:[showif [thisurl]^members][ListWords Words=[thisurl]&Delimiters=/][showif [index]=3][text show=f]mbr_name=[word][/text][/showif][/ListWords][mbr_name] (for verification purposes)[search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]][hideif [numfound]=0][founditems][REDIRECT url=http://www.domain.tld/profiles/details.html?record_id=[record_id]][/founditems][/hideif][showif [numfound]=0]redirect to some other page[/showif][/search][/showif]-------------------------------------------------------------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/
Glenn Busbin
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:
Need help with [cart] (2000)
Possible Bug in 2.0b15.acgi (1997)
Formulas.db (2001)
RE: Cart Template (1997)
Images in WebCat (2000)
Separate SSL Server (1997)
Problem with broken images (2004)
Email (1998)
IIS4/WebCat3.0 Authentication (1999)
back button problem (1999)
shipping costs (2000)
page redirect in webDNA (1997)
Cold Fusion Buster (1997)
Separate SSL Server (1997)
RE: OK, here goes... (1997)
Price and Formula.db (2002)
back button problem (1999)
WebCatalog can't find database (1997)
Menu Syntax on Edit/Add templates (1998)
CommandSecurity? (1997)