When you try to access a wiki page which doesn't exist, Tiki offers you a list of similarly named pages, to search for that word, to create the page, etc.
Good.
When you try to access other contents in Tiki (articles, blog posts, etc.) that don't exist (either have been deleted, moved, not yet published, protected, etc.), you get a Tiki error message.
Good as well.
But what if you try an URL which is just not possible?
Ex.: If you migrated from another system to Tiki and you are still getting hits with the previous URLs?
Of course, you could check your access logs and add nice redirects. But how can we make this easier for site admins?
The bundled _htaccess file (which you need to rename .htaccess to make active) has an example line:
ErrorDocument 404 /tiki-index.php?page=Page+not+found
This is good.
Now, how could we use this to provide the Tiki admin with a top-x error pages? And thus, it would help to detect broken links, etc.
Could .htaccess include some configuration info from Tiki? So a Tiki admin could add configuration information without using FTP, all in Tiki, possibly with a secret "system" wiki page.
Great inspiration:
https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |