ExpressionEngine plugin - Friendly 404 pages
I've written a simple plugin for ExpressionEngine that suggests valid pages to users based on the final segement of a 404 page.
Where am I? ¶
ExpressionEngine can serve 404 pages but once the user reaches the 404 page there isn’t much to help them recover from the error. You could of place a simple search form in the template but wouldn’t it be quicker if we could do it for the user?
How it works ¶
The plugin works by looking at the final segment of the 404 URI. For example http://www.yourdomain.com/about-us/products might be an invalid address which serves a 404 page. By using the plugin on your 404 templates ExpressionEngine will look for pages matching “products”. If a match is found it will be suggested to the user. A simple usability improvement.
Plugin and documentation ¶
The plugin is available on Google Code (ss-friendly-404 in Featured Downoads) and documentation is available there. There is also a thread on the EE Forums.
Can you help make this article better? You can edit it here and send me a pull request.
PHP 101 - The if statement
I get a fair few requests from designers asking for help with basic PHP. So I'm going to write a series on very basic PHP. It is not hard so let's start with a robot and the if statement.
Running ExpressionEngine on Media Temple's (dv) Part 3
In the final part of the series we look at how to optimise the front end code on your site and cut response times by up to 50%.
Running ExpressionEngine on Media Temple's (dv) Part 2
The second article in the series looking at optimising Apache and MySQL to run ExpressionEngine at optimum speed