On 3/9/06, XaosFluX <xaosflux(a)gmail.com> wrote:
While an image could contain a redirect, redirects are
only for internal
links, not external links.
If you have access to your Apache's setup, you can add this to httpd.conf:
RedirectMatch permanent "^/redirect/(.*)" http://$1
Then you can define an interwiki link like this:
INSERT
INTO wikidb.interwiki /* or whatever database.name it has */
VALUES
('r', 'http://yourhost/redirect/$1', 0, 0);
And then you can do external redirects:
#REDIRECT [[r:path]]
which would redirect to
http://path
Redirecting to https would be posible through another pair of
(RedirectMatch directive, interwiki link), or changing the above to
use
#REDIRECT [[r:protocol/path]]
and redefining the RedirectMatch directive accordingly.
Of course, such redirects can only be edited by using
http://yourhost/wiki?title=MyRedirectedPage&redirect=no
so this setup it's for the (moderately) experienced.
--
/L/e/k/t/u