[pmwiki-users] Redirect to URL (not existing Wiki Page) - possible?

Patrick R. Michaud pmichaud at pobox.com
Fri Jan 12 06:42:35 CST 2007


On Fri, Jan 12, 2007 at 12:35:39PM -0000, Crisp, Steve [UK] wrote:
>    Redirect to an external URL sounds too easy for PmWiki, can it already be
>    done with the core PmWiki or perhaps a plugin?  Ideas solicited...

PmWiki doesn't provide redirect-to-external-url in the core because
of the security risks associated with it.

We might be able to come up with a (:redirecturl ... :) recipe.

Pm



>    From: pmwiki-users-bounces at pmichaud.com
>    [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Crisp, Steve [UK]
>    Sent: 11 January 2007 23:40
>    To: pmwiki-users at pmichaud.com
>    Subject: [pmwiki-users] Redirect to URL (not existing Wiki Page) -
>    possible?
> 
>     
> 
>    Quick one for all you knowledgable ones ... using the latest beta of
>    Pmwiki how can I redirect a Wiki Page to another (external) URL - not
>    another Wiki Page?
> 
>     
> 
>    the markup below is conceptually what I'm after:
> 
>     
> 
>    (:redirect http://another.site.co.uk :)
> 
>     
> 
>    Can this be done?
> 
>     
> 
>    Why do I want to do it?  Well I'm running a random banner ad (on an
>    OpenSource software project site) using 'RandomPage'.  This rotates
>    through a few banner graphics.  If someone clicks on one it goes to a Wiki
>    page which I want to redirect to the external ad page.  I want to go via
>    an intermediate Wiki page because I want to register a hit on my Wiki page
>    so I can look at my web logs to get a quick click count for each banner. 
>    I'm sure there are better ways to do this.
> 
>     
> 
>    -Steve.
> 
>    P.S: Obviously there is a small security concern here however I did intend
>    to password protect the couple of pages that would redirect to an external
>    web site.

> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users





More information about the pmwiki-users mailing list