Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Autocomplete 4xx

Security covered Under active development

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`

Drupal 10–11

Ask your assistant about Autocomplete 4xx

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP Release date
2.0.0 Stable 10–11 Oct 30, 2024