|
Cookbook /
RedirectIntermapSummary: Allows redirects to intermap and external locations & implements silent 301 redirects
Version: 2008-02-13
Prerequisites: PmWiki 2.2.0-beta series, untested on 2.1.27 and earlier
Status: beta
Maintainer: EemeliAro
Categories: Links
Questions answered by this recipe
DescriptionRedirectIntermap adds functionality to the default To install this recipe:
ConfigurationThe following variables may be set in your config file to configure the way RedirectIntermap works. The values shown are the defaults.
UsageEverything mentioned in the basic redirect documentation works as advertised, as well as everything mentioned in the cookbook recipe CustomRedirects provided that To redirect e.g. to this page, use: (:redirect 'Cookbook:RedirectIntermap':)
NOTE: the quotes are necessary. This is due to the way PmWiki's ParseArgs function works and the way that intermap links have a ':' in them. Setting status codes also works, for example: (:redirect 'Cookbook:RedirectIntermap' status=301:)
To define your intermap links, see the PmWiki documentation on InterMaps. Release Notes
See Also
ContributorsComments
User notes?: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date * (-) Optional negative comment. Name, date These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |