leafwiki
leafwiki copied to clipboard
If page not found/moved, search for matching page titles
Problem / use case
If I move a page from root to a directory, e.g. LeafWiki -> Software/LeafWiki
users who bookmarked that page are greeted with
Page Not Found
The page you are looking for does not exist.
workaround: setup Apache redirect rules
Proposed behavior
instead: search for page title
- if 1 hit, show that page
- if >=2 hits show list
- if 0 hits keep as is
- (optionally) show close matches
Is this ready to be implemented, or does it need discussion first?
Should be easy to do, shall I prepare a PR?
Hi @entorb,
I think this would be a good idea. If you could prepare an PR for that, that would be nice.