Loading...
 
Skip to main content

With URL rewriting enabled, attempt to access invalid URL yields strange techie error message rather than usual "page not found"

Status
Open
Subject
With URL rewriting enabled, attempt to access invalid URL yields strange techie error message rather than usual "page not found"
Version
14.x
15.x
18.x
Category
  • Usability
Feature
Search Engine Friendly URLs (SEFURLs)
Resolution status
Confirmed
Submitted by
Gary Cunningham-Lee
Lastmod by
Wiebe
Rating
(0)
Description
For invalid Tiki URLs ending in .php (or .html, etc.), instead of a nice 404-type message, there is this: "No route found. Please see http://dev.tiki.org/url+Rewriting+Revamp". This is ok for a dev site (looks like a message to a developer), but isn't appropriate for a production site. In Tiki 13, there is something a little familiar, though not very nice: "404 Not Found - nginx". Is there some way to have a nice, styled page, that looks like part of the site and not a server message?
Solution
Ideally the page-not-found message page would look like part of the site, would use the site's theme, etc. and could have content editable by the site staff, probably including the branding, a search form, a site map, etc.
Workaround

There is a workaround to prevent this from happening, I found out a few days ago:
Go to Control Panels > General > Tab Navigation
Deselect the parameter "On permission denied, display login module''
Edit parameter Send to URL /login

Importance
6
Easy to solve?
4
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5565
Created
Saturday 28 February, 2015 14:47:17 UTC
by Gary Cunningham-Lee
LastModif
Tuesday 18 September, 2018 11:31:25 UTC


Show PHP error messages