Archive of UserLand's first discussion group, started October 5, 1998.

[HowTo] Better redirects

Author:Tommy Sundström
Posted:1/30/2000; 10:26:28 AM
Topic:[HowTo] Better redirects
Msg #:14877
Prev/Next:14876 / 14878

In Builder.com (http://www.builder.com/Authoring/Tagmania/011000/index.html) Paul Anderson outlines a better way to do redirects.

Here a method to implement it in Frontier:

Make a template named "redirect" (put in a table named #templates) with this content:




 
  
{"<" + "title>"}Redirect to {redirectTo}


This page has moved to {html.getLink(redirectTo, redirectTo)}.

Then when you move a page (or want a redirect for some other reason) you replace it with a page with this content

#template "redirect"
#redirectTo "http://www.xkom.se"

(replace http://www.xkom.se with your url)




This page was archived on 6/13/2001; 4:54:15 PM.

© Copyright 1998-2001 UserLand Software, Inc.