redirect within the ErrorMessages.db

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54595
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. [showif [thisurl]^members] [ListWords Words=[thisurl]&Delimiters=/][text show=f]mbr_name=[word][/text][/ListWords] [mbr_name] (for verification purposes) [search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]] [founditems] [REDIRECT url=http://www.domain.tld/profiles/details.html?record_id=[record_id]] [/founditems] [/search] [/showif] All I end up with is the mbr_name displayed on the screen. Anything obvious as to what I might be doing wrong? Thanks Dale ------------------------------------------------------------- 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: redirect within the ErrorMessages.db ( Stuart Tremain 2003)
  2. Re: redirect within the ErrorMessages.db ( CN Stuff 2003)
  3. Re: redirect within the ErrorMessages.db ( CN Stuff 2003)
  4. Re: redirect within the ErrorMessages.db ( Glenn Busbin 2003)
  5. Re: redirect within the ErrorMessages.db ( Donovan Brooke 2003)
  6. redirect within the ErrorMessages.db ( CN Stuff 2003)
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. [showif [thisurl]^members] [ListWords Words=[thisurl]&Delimiters=/][text show=f]mbr_name=[word][/text][/ListWords] [mbr_name] (for verification purposes) [search db=/databases/members.db&eqMemberNamedatarq=[mbr_name]] [founditems] [REDIRECT url=http://www.domain.tld/profiles/details.html?record_id=[record_id]] [/founditems] [/search] [/showif] All I end up with is the mbr_name displayed on the screen. Anything obvious as to what I might be doing wrong? Thanks Dale ------------------------------------------------------------- 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/ CN Stuff

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:

[WebDNA] sudo WebCatalogCtl stop won't work (2016) Applescript, WebDNA, and PDF (1997) IPADDRESS mystery (2003) Claris HomePage messes up the code (1997) Tip: upgrading to WebCatalog 3.x, fields to watch for (1999) Protect (1997) in conversions.db crashes unix webcat (1999) Problems passing [SKU] with $Replace in 2.0 (1997) Performance Issue (2000) RE: Problems reading files created by WC (1997) Closing databases (2003) [GROUPS] followup (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Nav. 4 probs with cart - Serious problem (1997) [WebDNA] [OT] the "Work in progress" thread. (2009) IP Address (2001) Showif, Hideif reverse logic ? (1997) Email within tmpl ? (1997) [table] strange behaviour REAL solution (2003) MacWEEK article help needed (1996)