Table of Contents
Page Redirect Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" yes
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to 404manager, goto, mediasyntax, redirect, redirect2
Needed for movedel
This plugin allows you to redirect users between pages and namespaces by adding a particular pattern to a page.
Features:
- Multiple syntaxes supported for creating redirect pages
- Notification at redirected page pointing back to provide clarity
- Supports immediate redirection
Download and Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
After the plugin is installed, a simple code redirects to another page:
~~REDIRECT>namespace:page~~ ~~REDIRECT>http://example.com~~
You can also use this syntax since 20120816 version, however this needs to be only thing on the line:
#REDIRECT namespace:page #redirect namespace:page
Since 2017-05-12
release, 2014-05-05 (Ponder Stibbons) Dokuwiki is required.
Configuration
The plugin has options that you can change via Configuration Settings in Admin
panel.
// Display a note about having been redirected on the new page. $conf['show_note'] = 1; // Allow redirects to external pages. $conf['allow_external'] = 1;
Development
I've created git repo of this plugin, as I saw lack of interest by original author (David Lorentsen) to adopting the patches.
— glen 2012/06/11 21:19
Changes
- Set version to 2024-03-01 (2024-03-01 14:45)
- Merge pull request #49 from glensc/gh-release (2024-03-01 14:44)
- Create workflow to create tag on plugin.info.txt change (2024-03-01 14:37)
- Fix warnings for PHP 8.1, Deprecations in Dokuwiki 2023-04-04a “Jack … (2024-03-01 14:34)
- Set version to 2022-11-20 (2022-11-20 21:52)
- Fill changelog for 20221120 (2022-11-20 21:52)
- Whitespace cleanup (2022-11-20 21:49)
- Merge pull request #43 from tomabrafix/master (2022-11-17 22:04)
Releases:
- Release 2024-03-01 by github-actions[bot]What's Changed Fix warnings for PHP 8.1, Deprecations in Dokuwiki 2023-04-04a “Jack Jackrum” by @Miro-Collas in #47 Create workflow to create tag on plugin.info.txt change by @glensc in #49 New Contributors @Miro-Collas made their first contribution in #47 @glensc made their first contribution in #49 Full Changelog: 2022112...2024-03-01
- 20221120 by glenscWhat's Changed Fix metadata & Move plugin support by @alexdraconian in #40 Make external redirects optional by @tomabrafix in #43 New Contributors @tomabrafix made their first contribution in #43 Full Changelog: 2022010...2022112
- 20220103 by glenscWhat's Changed Partial support for backlinks with redirects by @michitux in #26 Esperanto translation in #30 Add informal german language by @ebroda in #33 Add redirection target to link metadata by @alexdraconian in #39 New Contributors @michitux made their first contribution in #26 @ebroda made their first contribution in #33 @alexdraconian made their first contribution in #39 Full Changelog: 2017051...2022010
- 20170512 by glenscrelease 20170512
- 20160924 by glenscadd French translations. #14 display pagename if heading is undefined. #15, #9, #13 preserve GET parameters when redirecting. #16 add Russian translations. #17 update Korean translations. #21 fix test which is not passing with new version of Dokuwiki. #22
- release 20140414 by glenscadd <br/> tag to the redirect note to avoid being covered by page TOC. #4 add Japanese translations. #7 make ~~REDIRECT pattern non-greedy. #5, #8 honour conf['useheading'] for redirect note. #6, #8 basic support for external redirects. #8 fix access to protected variable after dokuwiki#555. #10, #11
- 20120816 by glenscallow #redirect syntax to be lowercase, but it must be start on line. 1362442
- 20120612 by glenscmatch anything in page name, to wiki path it is converted internally. f423934 preserve #section anchors on redirect. c31b525 make redirects 301 redirect permanently to be SEO friendly, 9796335 apply prevent conflict patch from wiki comments. 87145da add alternative #REDIRECT namespace/pagename syntax. 01efce2 add zh-tw translations. 82539ae add Korean translations. 6aa688d add portugese translations. e22f33a fix matching page with #REDIRECT syntax. 4dca632
Bugs / Feature Requests
Please report bugs or feature requests at the Bug tracker.