Tags:
create new tag
, view all tags
A useful tag: %REDIRECT{"Topic" delay="10"}%

  • redirects automatically the page elsewhere (useful for wrong topic names)
  • you can choose the delay in seconds, defaulting to 5, so that the user still have a chance of editing the topic
  • the destination topic can be in the same or in other web (or outside), just use the name/Web.name/url

-- AndreaSterbini - 13 Sep 2000


I feel the point of a redirect is the situation where web sites (or content) out of your control links to pages you control.

In the case where it's wiki internal links you care about, a redirect is undesirable, and a method of updating all links is much more desirable.

In the case of links you can't control, this doesn't seem crazy, but I think a simple link works more reliably. You don't have to account for both cases in the verbiage.

-- JoshuaRodman - 14 Sep 2000

I agree with you, what we need is a Web AdminToolsDev.

-- AndreaSterbini - 14 Sep 2000

I've just moved a Twiki site from one server to another, and this redirect tag would have been very useful to redirect all users to the new URL. I guess I'll do something by editing templates instead, which has the advantage of working globally at least.

-- RichardDonkin - 15 May 2001

Why not use the redirect rewrite rules in Apache if you've moved a site e.g.

RedirectMatch /(.*)$ http://newserver.company.com/$1

-- JohnTalintyre - 15 May 2001

I haven't use the redirect matching stuff before, only rewriting - does this actually present a warning page with timeout before redirecting - also I'm not the Apache admin on either system, so I tend to avoid things requiring Apache changes. Making this available at the TWiki level would be good.

BTW, when was <verbatim> introduced?

-- RichardDonkin - 16 May 2001

Regarding URL change: Personally I prefer to have a static page informing users of the new URL instead of a redirect. That way users have time to update bookmarks.

At work I simply replaced the view.tmpl with a simple html page that links to the current topic at the new location, i.e. something like:

TWiki moved, please update your bookmarks. This topic is now at
http://new.server.location/cgi-bin/view/%WEB%/%TOPIC%

-- PeterThoeny - 16 May 2001

See also: RedirectPage

-- HansDonner - 28 Sep 2001

See RedirectPlugin for a simple implementation of this idea.

-- SteveMokris - 21 Jun 2003

See Wikipedia:Redirect for a list of uses for redirect.

-- SamHasler - 22 Jan 2004

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2004-01-25 - WillNorris
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2016 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.