Loading...
 
Skip to main content

Tighter integration with Apache's > .htaccess (error messages, etc.)

Status
Open
Subject
Tighter integration with Apache's > .htaccess (error messages, etc.)
Version
10.x
11.x
3.x
4.x
5.x
6.x
7.x
8.x
9.x
Category
  • Dogfood on a *.tiki.org site
  • Feature request
Feature
Infrastructure
Installer (profiles, upgrades and server-related issues)
Search
Search engine optimization (SEO)
Stats
Submitted by
Marc Laporte
Lastmod by
Marc Laporte, drsassafras
Rating
(0)
Related-to
Description

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:

Image
Copy to clipboard
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

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2196
Created
Thursday 04 December, 2008 01:39:30 UTC
by Unknown
LastModif
Friday 09 February, 2018 06:17:19 UTC


Show PHP error messages