site_information_autocomplete
Site Information Autocomplete replaces the plain text path fields on the Basic site settings page with node title autocomplete fields, making it easy to select content for your front page and error pages without needing to know node IDs or paths.
Instead of typing /node/42 into a text box, administrators can simply start typing a node title and select from matching content — just like any other entity reference field in Drupal.
Features
- Converts the Default front page, Default 403 (access denied), and Default 404 (page not found) fields on the Basic site settings page into node title autocomplete elements.
- Administrators can search for nodes by title and select from a dropdown — no need to look up node IDs or internal paths.
- Arbitrary paths (such as
/user/loginor/views/frontpage) can still be typed directly into any field and will pass through to Drupal's standard path validation unchanged. - When a node is selected, the canonical node path (e.g.
/node/1) is stored in configuration — not the title — so existing behaviour is fully preserved. - If a field already contains a node path when the page loads, the corresponding node title is pre-populated in the autocomplete field automatically.
- Works with all node types and bundles — no additional configuration is needed to control which content is available.
This module is useful for any Drupal site where non-technical administrators manage site settings. It removes the need to know internal path structures and brings the site settings page in line with the entity reference experience found throughout the rest of the Drupal admin interface.
Post-Installation
No configuration page is required. Once the module is enabled:
- Navigate to Administration > Configuration > System > Basic site settings (
/admin/config/system/site-information). - The Default front page, Default 403, and Default 404 fields will now display as autocomplete fields.
- Begin typing a node title to search, or enter any valid Drupal path directly.
- Save the form as normal.
Additional Requirements
This module requires the following modules, all of which are included in Drupal core:
- Node — provides the node entity type used for autocomplete lookup.
- Path Alias — used to resolve path aliases when the current front page value is stored as an alias rather than a canonical path.