glensc / dokuwiki-plugin-pageredirect

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

Redirect links do not honor fragment identifier (hash mark) #42

Open schniepp opened 1 year ago

schniepp commented 1 year ago

If the redirect direct is issued as follow: ~~REDIRECT>http://example.com#tag~~, it is only directed to example.com. The fragment identifier is not honored (omitted). Is this by design?

glensc commented 1 year ago

definitely not by design, just a shortcoming. I've seen it working, maybe only support for preserving hash in wiki pages was preserved, not sure.

have you tried with the alternative syntaxes?:

#REDIRECT namespace:page#hash
#redirect namespace:page#hash