[pmwiki-users] Redirecting pages to external URLs

Bernard Bel bernarbel at gmail.com
Thu Dec 31 08:42:51 CST 2009


I am in the process of migrating all my PhpWiki sites to PmWiki.

A feature that has been used extensively on these sites is not available on PmWiki "for security reasons"... though it never produced any unwanted effect during several years on the PhpWiki sites!

This feature is the page redirection to an external URL.  On my sites we have taken the habit of writing significant acronyms between square brackets so that they automatically point at a specific page. For instance, [[CNAM]] links to the "CNAM" page and this page has an external redirection to http://fr.wikipedia.org/wiki/Caisse_nationale_d%27assurance_maladie

This has the immense advantage that (1) we do not need to repeat external URLs and (2) any change in an external URL can be updated by editing the unique page that contains it.

To make things clear I would not migrate to a wiki that does not permit external redirection. (MoinMoinWiki, which I almost opted for, does it nicely.)

A quick search on the web led me to these suggestions:

http://www.mail-archive.com/pmwiki-users@pmichaud.com/msg00372.html

However none of them does a single external redirection from a single page. In addition, I don't understand how a call of a page might open "local/Site.Redirect.php". I guess that some extra PHP code is required in "local/config.php"s.

Has this issue been resolved or should we stick to the "security" argument?

-- 
Bernard Bel
Laboratoire Parole et Langage
http://lpl-aix.fr
UMR 6057 CNRS - Université de Provence
13604 Aix-en-Provence Cedex 1 (France)

Centre de Ressources pour la Description de l'Oral (CRDO)
http://crdo.fr
Bol Processor project
http://bolprocessor.sourceforge.net/



More information about the pmwiki-users mailing list