Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Mailchimp 3.1.5 Minor update available for module mailchimp (3.1.5). Release: Commerce Shipping 3.0.5 Minor update available for module commerce_shipping (3.0.5). Release: GoogleTag Manager 2.0.1 Minor update available for module gtm (2.0.1). Usage Milestone: Easy Breadcrumb Module easy_breadcrumb crossed 100,000 active installs. Release: MCP Sentinel 2.17.0 Minor update available for module mcp_sentinel (2.17.0). Release: Commerce ML Exchange 2.0.1 Minor update available for module cmlexchange (2.0.1). Release: Commerce ML Exchange 2.0.0 Major update available for module cmlexchange (2.0.0). Release: SynImport 2.0.0 Major update available for module synimport (2.0.0). Release: Contact ajax 3.0.0 Major update available for module contact_ajax (3.0.0). Module Revived: Contextual Filter from Referer 1.0.2 Module contextual_filter_referer updated after 22 months of inactivity (1.0.2).

Autocomplete 4xx

Security covered Drupal 10–11
View on drupal.org

This module enhances the site information configuration page to provide autocomplete suggestions for 404 and 403 error page settings. You can configure the autocomplete to include unpublished nodes, parameterized routes, and specific content types.

This module provides additional feature on admin/config/system/site-information page, so 404 and 403 fields becomes autocomplete.

There are additional settings provided at admin/config/system/autocomplete_4xx, so you can play with these settings to adjust results of autocomplete search. Available options are:

- include routes - by default it's set to false and only node paths (represented by node titles) are considered to be potential results.
- include parameterized routes - this option is also set to false, as it allows to include in autocomplete results paths with {parameters}
- include unpublished nodes - by default unpublished nodes are not included in the list, this option provides an ability to include it
- define which content types should be included for setting up 4xx pages - by default all the node without bundles filtering are available to search through, this option can narrow down results to specific content types.

Requirements

This module requires no modules outside of Drupal core.

Configuration

1. Enable the module at Administration > Extend or via drush.
2. Go to /admin/config/system/site-information
3. `Error pages` section (403 and 404) should now contain autocomplete fields instead of simple textfields.
4. By default autocomplete searches through all published nodes.
5. You can adjust search settings at `/admin/config/system/autocomplete_4xx`

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
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0 Stable 10–11 Oct 30, 2024