|
Regarding the 301.. the newer Function context as =well
as the newer pre-parse script allow us to make just
about any =kind of WebDNA context that we want. Here is
the 301 redirect using =those features.
(Put this in your page, or better yet, in =your pre-parse include file)
[!] ** 301 Redirect ** =[/!]
[function name=3D301redirect]
[hideif =||[url][raw][redirect_url][/raw][/url]|^|[url][redirect_url][/url]|]
= [text]CRLF=3D[unurl]%0D%0A[/unurl][/text]
[text]result=3DHTTP/1.1= 301 Moved Permanently
Location: =[redirect_url][/text]
[/hideif]
[return][returnraw][result][CRLF=][CRLF][/returnraw][/return]
[/function]
Then, to =implement a quick 301, call the function with:
[301redirect =redirect_url=3D<http://yoururl>]
DOWNLOAD WEBDNA NOW!
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...