glensc / dokuwiki-plugin-pageredirect

Redirects page requests based on content
https://www.dokuwiki.org/plugin:pageredirect
19 stars 19 forks source link

Basic support for external redirects + fixes for #5 and #6 #8

Closed pah closed 11 years ago

pah commented 11 years ago

Until now, only redirects to DokuWiki pages have been supported. This PR adds basic support for redirects to (external) URLs, following the same syntax:

~~REDIRECT>https://example.com~~
#redirect https://dokuwiki.org

Additionally, fixes for the following two issues are included as well (can be merged separately, if needed):

If you prefer a linear history, I can rebase the individually merged commits onto the current master.

glensc commented 11 years ago

i wanted to add unit test for the bugs, but seems i never got that far. merged all of them. thanks!