glensc / dokuwiki-plugin-pageredirect

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

Internal section links #24

Closed jayqi closed 7 years ago

jayqi commented 8 years ago

The plugin does not seem to be properly working with internal section links.

For example, I am trying to redirect the page bayes_theorem to probability_basic_definitions#bayes_theorem. I confirmed that the URL ending with

/doku.php?id=probability_basic_definitions#bayes_theorem

properly returns the page probability_basic_definitions and scrolled down to the section bayes_theorem.

However, when I put the redirect on the bayes_theorem page

~~REDIRECT>probability_basic_definitions#bayes_theorem~~

the URL that gets redirected to is

/doku.php?id=probability_basic_definitions&redirect=1#bayes_theoremid=bayes_theorem

and it puts me at the top of the probability_basic_definitions page and not scrolled down to the section bayes_theorem.

glensc commented 7 years ago

seems this got broken from #16 with 5cd681d

glensc commented 7 years ago

should be fixed with 5cd681d