Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Better Page Not Found

24 sites No security coverage Drupal 8–11
View on drupal.org

This module enhances 404 (page not found) and 401/402 (not authorized) pages by replacing the default content with a clear, themed message and a "Go to homepage" button. It maintains your site's header, footer, and overall styling for a consistent user experience.

This module automatically improves the layout of 404 (page not found)
and 401 and 402 (not authorized) pages. If the current page is an 404
(or 401 or 402) page then it replaces the page content with a themed
message.
It does not replace other page items, so the error page will
still show your header and footer, and thus have your site styling intact.

The 404 (page not found) page will show following message:
'The requested page could not be found.' (this is translatable)

The 401 and 402 (not authorized) pages will show following message:
'Sorry, you are not authorized to access this page.' (this is translatable)

Under each message, a button 'Go to homepage' is added automatically.

If you want you can further style these messages by targeting following
classes in your css:
- .c-system-message (wrapper around the message)
- .c-system-message__text (text itself)
- .c-system-message__button (the button to the homepage)

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jan 2026
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
3.0.1 Stable 8–11 Jan 23, 2026