Somewhat by accident, ended up writing this little script today:

<http://pmwiki.org/wiki/Cookbook/CaseCorrection>

CaseCorrection handles mistakes of case in PmWiki addresses (eg.
homepage instead of HomePage) by looking for a case-insensitive match
in all of a wiki's pages. If a match is found, the user is silently
redirected to it, and if not, the script provides a few useful page
variables to make your 404 page more user-friendly.

The recipe can also be used to catch mistakes that CleanUrls wouldn't
normally direct to PmWiki at all. Also, since it's only triggered if
the system would otherwise produce a 404 page, it in no way limits
what names you can give your pages or affects normal browsing speed in
any way.

eemeli

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to