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