Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

RedirectSilent

Summary: Redirect pages without messages and without modifying links
Version: 1.1
Prerequisites:
Status: Working
Maintainer: GNUZoo
Categories: Links Obsolete

Questions answered by this recipe

How to get rid of the redirect message and get rid of the "?from=pagename" in links

Description

Note: From version 2.2.1, PmWiki core's redirect markup now accepts the quiet=1 additional parameter. See $EnableRedirectQuiet.

This recipe is based on CustomRedirects. This recipe requires no custom parameters in the (:redirect:) markup like CustomRedirects does. Every link is clean and no "redirected from" message is displayed on the page.

Installation

Copy RedirectSilent.phpΔ to your cookbook directory.

In your config.php:

include_once("cookbook/RedirectSilent.php");

or in your farmconfig.php enter:

include_once("$FarmD/cookbook/RedirectSilent.php");

Notes

Release Notes

This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation http://www.fsf.org either version 2 of the License, or (at your option) any later version.

Copyright 2007 by GNUZoo email: guru [snail] gnuzoo [period] org

Please donate to the author at url: http://gnuzoo.org/GNUZooPayPal

  • Version 1.0 - Initial Release

Comments

See Also

Contributors

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:42 AM