Re: Redirect from Domain1 to Domain2

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57285
interpreted = N
texte = After a couple of small tweaks, it works great! On 4/9/04 10:17 AM, "Jesse Proudman" wrote: > [showif [listmimeheader][showif > [name]^host][value][/showif][/listmimeheader]^domain2.com][redirect > http://www.domain1.com[thisurl]?[formvariables][name]=[url][value][/ > url]&[/formvariables]][/showif] > > Untested but should do the trick. > > On Apr 9, 2004, at 7:57 AM, Clint Davis wrote: > >> I own domain1.com and domain2.com, and they both point to one website. >> >> Since I'm using a cookie to track shopping carts, I'd like any visit >> to any >> page on domain2.com to be redirected to the equivalent page on >> domain1.com. >> >> Has anyone done this? ------------------------------------------------------------- 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 from Domain1 to Domain2 ( Clint Davis 2004)
  2. Re: Redirect from Domain1 to Domain2 ( Jesse Proudman 2004)
  3. Redirect from Domain1 to Domain2 ( Clint Davis 2004)
After a couple of small tweaks, it works great! On 4/9/04 10:17 AM, "Jesse Proudman" wrote: > [showif [listmimeheader][showif > [name]^host][value][/showif][/listmimeheader]^domain2.com][redirect > http://www.domain1.com[thisurl]?[formvariables][name]=[url][value][/ > url]&[/formvariables]][/showif] > > Untested but should do the trick. > > On Apr 9, 2004, at 7:57 AM, Clint Davis wrote: > >> I own domain1.com and domain2.com, and they both point to one website. >> >> Since I'm using a cookie to track shopping carts, I'd like any visit >> to any >> page on domain2.com to be redirected to the equivalent page on >> domain1.com. >> >> Has anyone done this? ------------------------------------------------------------- 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/ Clint Davis

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:

multi-paragraph fields (1997) About WebDNA (2006) Can this be done? (1997) [WebDNA] duplicate cookies being stored in browser (2010) Odd search results, or odd programmer, not sure which... (2002) Problems getting parameters passed into email. (1997) TCPConnect misbehavin' for me. (2000) RE: WebCatalog2 for NT Beta Request (1997) Questions about maximum (1999) Extended [ConvertChars] (1997) Two submit buttons ? (1997) greater than or equal to (1997) authenticating a second user (1997) Showif Error Generated... (2003) pop up menu's (1998) where did it find it? (2000) Help!!!! Purchases not going through! FIXED! (1997) [ShowNext] (1997) multiple search of same field (1999) Just testing my subscription (2003)