Site information
The Drupal settings page, labeled Basic site settings, where an administrator sets the site name, slogan, From email address, front page and error pages.
Site information is a set of values in the system.site configuration object that identify a Drupal site. They hold the name that the site branding block and outgoing mail use, set the sender address of automated emails, and choose which pages serve as the home page and as the access denied (403) and not found (404) pages.
How site information works in Drupal 11
The form is SiteInformationForm, at /admin/config/system/site-information. In the menu it sits under Configuration, then System. Its route requires the Administer site configuration permission, which core marks as restricted. The route and the menu link are titled Basic site settings, while the help text of the Site branding block still points to the Site Information page.
All values are stored in the system.site configuration object:
nameandslogan: the Site name and Slogan fields.mail: the Email address field. Drupal uses it as the From address of its automated emails and shows the site name as the sender name. If it is empty, the mail system falls back to the PHPsendmail_fromsetting.page.front: the Default front page, entered as a relative path.page.403andpage.404: optional error pages. When blank, Drupal shows its generic pages.
The form validates the paths. A front page or error page must start with a slash, and must be a valid path that you can access. The Site branding block reads name and slogan, and has its own options to show or hide each. The notification address under account settings, mail_notification, falls back to this email address when left empty.
Example
Go to Configuration › System › Basic site settings, type the site name, set the email address to a mailbox on your own domain and save. The same values can be read and written with Drush:
drush config:get system.site
drush config:set system.site name MySite
Common mistakes
- Entering a full URL as the front page. The field takes a relative path such as
/node/12, starting with a slash. Core shows the site's base URL as a prefix in front of the field. - Using an address on another domain. The field help recommends an address ending in the site's domain to help prevent the email being flagged as spam.
For marketing and content teams
The site name and slogan are the text the Site branding block can show in the header, so agree on their wording with your brand lead. The email address is the sender of account and password emails, so use a mailbox someone reads. Editors without that restricted permission cannot open this page; ask your site administrator for changes.
Sources
- Drupal User Guide: Editing basic site information
- Drupal core 11.4.10: SiteInformationForm
- Drupal core 11.4.10: system.routing.yml
- Drupal core 11.4.10: system.links.menu.yml
- Drupal core 11.4.10: MailManager
- Drupal core 11.4.10: SystemBrandingBlock
- Drupal core 11.4.10: AccountSettingsForm
- Drush config:set command