On 28 Jan 2016, at 03:06, Brian Burton <brian@burtons.com> =wrote:[text]eol=3D[unurl]%0D%0A[/unurl][/text][function =name=3D301public][returnraw]HTTP/1.1 301 Moved =Permanently[eol]Location: http://www.mydomain.com[link][eol][eol][/returnraw][/function] [function name=3D404hard][returnraw]HTTP/1.0 404 Not Found[eol]Status: 404 Not =Found[eol]Content-type: =text/html[eol][eol]<html>[eol]<body>[eol]<h1>404 Not =Found</h1>[eol]The page that you have requested ([thisurl]) could =not be found.[eol]</body>[eol]</html>[/returnraw][/function][function name=3D404soft][returnraw]HTTP/1.0 404 Not Found[eol]Status: 404 Not =Found[eol]Content-type: text/html[eol][eol][include =file=3D/404pretty.tpl][/returnraw][/function]I have 2 404 functions, =one for humans, and one for web scrappers trying to lift my 10,000 page =website.(no reason to waste bandwidth =showing them a whole pretty webpage)-Brian B.On Jan =26, 2016, at 7:57 PM, Stuart Tremain <webdna@idfk.com.au> =wrote:I have been =reading some old posts about WSC =E2=80=98fixing=E2=80=99 the redirect =in WebDNA,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list"Functionally, "[redirect]" in WebDNA works fine, and has on =all platforms. By default, it creates a temporary redirect, which =isn't always what you want for SEO reasons. WSC has fixed the ability to =make 301 redirects with the latest beta's in both WebDNA Server and =WebDNA FastCGI."However I can=E2=80=99t =find any mention of it in the docs:How do I specify a 301 =redirect as opposed to a 307 ?What version is this available in =?.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
On 28 Jan 2016, at 03:06, Brian Burton <brian@burtons.com> =wrote:[function =name=3D301public][returnraw]HTTP/1.1 301 Moved =Permanently[eol]Location: http://www.mydomain.com[link][eol][eol][/returnraw][/function] [function name=3D404hard][returnraw]HTTP/1.0 404 Not Found[eol]Status: 404 Not =Found[eol]Content-type: =text/html[eol][eol]<html>[eol]<body>[eol]<h1>404 Not =Found</h1>[eol]The page that you have requested ([thisurl]) could =not be found.[eol]</body>[eol]</html>[/returnraw][/function][function name=3D404soft][returnraw]HTTP/1.0 404 Not Found[eol]Status: 404 Not =Found[eol]Content-type: text/html[eol][eol][include =file=3D/404pretty.tpl][/returnraw][/function]I have 2 404 functions, =one for humans, and one for web scrappers trying to lift my 10,000 page =website.(no reason to waste bandwidth =showing them a whole pretty webpage)-Brian B.On Jan =26, 2016, at 7:57 PM, Stuart Tremain <webdna@idfk.com.au> =wrote:I have been =reading some old posts about WSC =E2=80=98fixing=E2=80=99 the redirect =in WebDNA,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list"Functionally, "[redirect]" in WebDNA works fine, and has on =all platforms. By default, it creates a temporary redirect, which =isn't always what you want for SEO reasons. WSC has fixed the ability to =make 301 redirects with the latest beta's in both WebDNA Server and =WebDNA FastCGI."However I can=E2=80=99t =find any mention of it in the docs:How do I specify a 301 =redirect as opposed to a 307 ?What version is this available in =?.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
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...