Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

RedirectSilent

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

Questions answered by this recipe

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

Description

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 (guru@gnuzoo.org)

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

  • Version 1.0 - Initial Release

Comments

See Also

Contributors

GNUZoo

Edit - History - Print - Recent Changes - Search
Page last modified on August 23, 2008, at 05:07 AM