Re: webdna page not found redirect

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69010
interpreted = N
texte = Do you happen to have a quick snippet that would give me the base URL they typed? So for example if they typed: www.mysite.com/myfolder/mypage.tpl it would give me www.mysite.com ? I was hoping there was a quick command, but it looks like I might have to write code to take up to the .com...? Donovan Brooke wrote: > Scott wrote: >> sorry if this is a double post, I think earlier I sent to the wrong >> address: >> >> Is there a way to do a page not found redirect with webcatalog? >> For example, with apache you can define for a virtual site that if >> someone types a non-existent page that it redirects to a different >> url/page. I have some .tpl pages that no longer exist, and I need >> it to redirect them to the root or somewhere else without having to >> figure out all the missing pages and creating code in all of them...?? > > > Look for the 404 field in the "errormessages.db" in globals. You can > edit that to insert a [redirect url=[url][/url]] > > WebDNA needs to have it's pre-parse script re-worked for this very > purpose!!!! > > > Donovan > > > ------------------------------------------------------------- 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 page not found redirect ( Donovan Brooke 2007)
  2. Re: webdna page not found redirect ( Bob Minor 2007)
  3. Re: webdna page not found redirect ( Bob Minor 2007)
  4. Re: webdna page not found redirect ( Scott 2007)
  5. Re: webdna page not found redirect ( Donovan Brooke 2007)
Do you happen to have a quick snippet that would give me the base URL they typed? So for example if they typed: www.mysite.com/myfolder/mypage.tpl it would give me www.mysite.com ? I was hoping there was a quick command, but it looks like I might have to write code to take up to the .com...? Donovan Brooke wrote: > Scott wrote: >> sorry if this is a double post, I think earlier I sent to the wrong >> address: >> >> Is there a way to do a page not found redirect with webcatalog? >> For example, with apache you can define for a virtual site that if >> someone types a non-existent page that it redirects to a different >> url/page. I have some .tpl pages that no longer exist, and I need >> it to redirect them to the root or somewhere else without having to >> figure out all the missing pages and creating code in all of them...?? > > > Look for the 404 field in the "errormessages.db" in globals. You can > edit that to insert a [redirect url=[url][/url]] > > WebDNA needs to have it's pre-parse script re-worked for this very > purpose!!!! > > > Donovan > > > ------------------------------------------------------------- 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/ Scott

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:

(2000) Invisible file issue now a real 'bug' (1999) Help formatting search results w/ table (1997) Multiple prices (1997) Math with Time (1997) Include Troubles (1998) hiding links (1999) summarizing multiple fields (2000) Random tags HELP!!!! (1999) ftp site no longer accepting anonymous login, so I cannotdownload (2002) problems with 2 tags shakur (1997) [WebDNA] Triggers.db wiped completely blank (2011) WCS Newbie question (1997) RequiredFields template (1997) Possible Bug in 2.0b15.acgi (1997) website pro trouble (1998) PIXO with cometsite ... and/or other plugins (1998) Credit Card Verification.... (1998) Location of Browser Info.txt file (1997) [SearchString] problem with [search] context (1997)