Summary: Redirect pages without messages and without modifying links
Version: 1.3
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


Remove redirect message PMWiki displays in a page is easy with just setting

    $PageRedirectFmt = '';

The hard part is changing the URL so it does not show that same information

This recipe is not obsolete. It is different than the "$EnableRedirectQuiet" method in that this recipe does not require any adjustment to any redirect directive. It removes ALL "?from=pagename" in links. The newer method requires EVERY redirect directive to be modified with quiet=1. Can we make it so that if "$EnableRedirectQuiet" is set to 2 that it disables all "?from=pagename" in links so we do not have to adjust it in every redirect directive?

I fixed this plugin and a newer version is available for download.



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.


Copy RedirectSilent.phpΔ to your cookbook directory.

In your config.php:


or in your farmconfig.php enter:



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 either version 2 of the
License, or (at your option) any later version.

Copyright 2007

  • Version 1.0 - Initial Release


See Also


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.