disp = 404
This Disp is used when b2evolution cannot find or understand what information is requested through the URL.
Different behaviors can be configured through the SEO Settings > Other pages Panel.
You can determine the cause of the 404 by looking at the
$disp_detail variable. The
$disp_detail can have the following values:
You can see the
$disp_detail used by any page of the site by turning on the Dev Menu.
Below is the default main Container and Widgets of this
$disp that comes with b2evolution. Yours may look different depending on the particular skin in use and the widgets currently installed and how they are configured.
We can make some simple customization to the message displayed in the 404 page just by editing the settings of the default widgets.
Edit the title and the message that you want to be displayed by the "404 Not Found" widget:
Below is the result of the customization that we just made:
_404_not_found.disp.phpfile in the currently used skin’s folder.
Created by • Last edit by on Apr 19, 2019