NO MORE 404! This small component is a 404 redirect handler for Artio JoomSEF. While Artio is an excellent SEF component, it is possible 404 / Page Not Found errors can arise for various reasons. This component automatically fixes and redirects those 404 / Page Not Found errors or gives a search results page. The user never sees the 404 page but is redirected to the correct content item. Other than a mambot call in the default 404 file (see below), no configuration is required. Anyone using Artio SEF can benefit by installing this component.
Features (in order of processing):
1) Automatically strips -2.html, -3.html, -5.php etc.. from erroneous URL and redirects to root URL.
2) Redirects erroneous section/category/2.html, .../345.php etc... URLs to default index
3) Determines and extracts title from URL then automatically searches and redirects to content item. Magic!
4) Automatic redirect to list of search results
The component keeps a running log of all 404 redirects and searches. The log is viewable and downloadable (as an excel spreadsheet) from the backend interface. It is a simple install component with one DB table (404 log). No core files are ever modified.
This extension correctly redirects 98% of the 404 errors on my site or gives a search results page for the remaining 2%.
This component requires the plugin RD AddPHP to allow PHP code to be added to Artio SEFs default 404 page. RD AddPHP is available from this extensions site or here (
http://www.run-digital.com/download/mambots.html )
After installing, be sure to add the following plugin call to your default 404 page : {rdaddphp file=administrator/components/com_404_redirect/404_redirect.php}
You can use another extension too but you need to add a call to include 404_redirect.php in your default 404 file.
New Version 1.2 with improved title extraction from URL
New Version 1.3: When redirecting, returns "301 - Moved Permanently" header with option to return a 404 header (google webmaster tools validation friendly)
If this component helps you out, please send feedback!
Update: I have setup a new support forum at :
http://joomla.daveslist.co.nz/forum
Please direct support questions there.
DT