Axllent\Intelligent404\Intelligent404
SilverStripe Intelligent 404 ============================
Extension to add additional functionality to the existing 404 ErrorPage.
It tries to guess the intended page by matching up the last segment of
the url to all SiteTree pages (and optionally other DataObjects).
It also uses soundex to match similar sounding page links to find alternatives.
Synopsis
class Intelligent404
extends Extension
{
- // members
- private static boolean $allow_in_dev_mode = false;
- private static boolean $redirect_on_single_match = true;
- private static array $data_objects = ;
- // methods
- public void onAfterInit()
- private void RedirectToPage()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $allow_in_dev_mode
- $data_objects
- $redirect_on_single_match