[pmwiki-users] Redirecting pages to external URLs

ABClf languefrancaise at gmail.com
Thu Dec 31 09:10:06 CST 2009


Hello, Bonjour,

And what about (no redirection, just direct link) :
http://www.pmwiki.org/wiki/Cookbook/AutoLink
http://www.pmwiki.org/wiki/PmWiki/InterMap Wikipedia:CNAM

Gilles.

2009/12/31 Bernard Bel <bernarbel at gmail.com>:
> 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/
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list