Closed Bug 561537 Opened 12 years ago Closed 12 years ago
[k] Add nicer 404 and 500 handlers
We should add friendlier-looking 404 and 500 pages in Kitsune. These pages would only appear when going to a Kitsune URL and getting a 404/500 (for example, going to /forums/non-existent-slug, or adding a trailing /). We can override the defaults by setting handler404 and handler500, respectively, in the root urls.py. These can be custom views (frex: sumo.views.handle404). In the 404 handler, it'd be nice to check for a trailing slash, and redirect to remove it. (The destination URL might still be a 404, but it would clean up the /search/ => 500 issue better than the .htaccess fix.)
Assignee: nobody → james
Summary: [k] Add nicer 404 and 500 pages → [k] Add nicer 404 and 500 handlers
WIP: http://github.com/jsocol/kitsune/commit/e339800, includes the 404 handler and moves around the basic search form a bit.
Pull requests sent for r? http://github.com/jsocol/kitsune/commits/561537-handlers
http://github.com/jsocol/kitsune/commit/63b0a159 on forums branch QA: You won't see this on stage-new until we've merged the forums branch into development, which is hopefully soon.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
404 page: http://support-stage-new.mozilla.com/k/en-US/meow 500 error: http://support-stage-new.mozilla.com/k/en-US/forums Verified FIXED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.