b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Front-office Reference
  3. Disp Reference
  4. disp = 404

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.

Details about the cause of the 404:

You can determine the cause of the 404 by looking at the $disp_detail variable. The $disp_detail can have the following values:

  • 404-malformed_url-missing_year
  • 404-malformed_url-bad_char
  • 404-post_not_found
  • 404-feeds-disabled
  • 404-sitemaps-disabled

You can see the $disp and $disp_detail used by any page of the site by turning on the Dev Menu.

Default Container and Widgets

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.

disp = 404

Customizing the 404 Not Found Message

We can make some simple customization to the message displayed in the 404 page just by editing the settings of the default widgets.

In your collection’s Widget List, locate the "404 Not Found" widget inside the "404 Page" container:

disp = 404
"404 Not Found" widget in the "404 Page" container

Edit the title and the message that you want to be displayed by the "404 Not Found" widget:

disp = 404
404 Not Found widget settings

Below is the result of the customization that we just made:

disp = 404
Default 404 page with customized title and message

Tip: We can also fully customize how this disp will look by creating or replacing the _404_not_found.disp.php file in the currently used skin’s folder.

Tags: 6.11.1
Created by fplanque • Last edit by winskie on 2019-04-19 03:09 • •

No feedback yet

On this page

  • Details about the cause of the 404:
  • Default Container and Widgets
  • Customizing the 404 Not Found Message

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
    • Collection Types
    • Disp Reference
      • User Profile Disps
      • disp = 404
      • disp = access_denied
      • disp = access_requires_login
      • disp = activateinfo
      • disp = arcdir
      • disp = catdir
      • disp = comments
      • disp = contacts
      • disp = download
      • disp = edit
      • disp = edit_comment
      • disp = feedback-popup
      • disp = flagged
      • disp = front
      • disp = help
      • disp = login
      • disp = lostpassword
      • disp = mediaidx
      • disp = messages
      • disp = msgform
      • disp = page
      • disp = postidx
      • disp = posts
      • disp = proposechange
      • disp = register
      • disp = search
      • disp = single
      • disp = sitemap
      • disp = tags
      • disp = terms
      • disp = threads
      • disp = usercomments
      • disp = useritems
      • disp = users
      • disp = visits
      • disp_detail = posts-cat
      • disp_detail = posts-date
      • disp_detail = posts-default
      • disp_detail = posts-filtered
      • disp_detail = posts-next
      • disp_detail = posts-subcat
      • disp_detail = posts-tag
      • disp_detail = posts-topcat
    • Widgets Reference
    • The In-skin Edit Screen
    • Comments / Feedback Area
    • Social Media Meta Tags
    • Workflow Panel
    • Flagging Items
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
b2

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque