General and advanced configuration paths reference
CREATED FOR:
- Experienced
- Admin
- Developer
This topic lists general and advanced configuration paths and not sensitive and system-specific values. The magento app:config:dump
command writes these values to the shared configuration file, app/etc/config.php
, which should be in source control.
To optionally override any configuration settings or to set sensitive settings, see Use environment variables to override configuration settings.
General category
This section lists variable names and configuration paths available for options in the Admin under Stores > Settings > Configuration > General.
General paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > General.
Name | Config path | Commerce only? | Sensitive? |
---|---|---|---|
Default Country | general/country/default |
![]() | |
Allow Countries | general/country/allow |
![]() | |
Zip/Postal Code is optional for | general/country/optional_zip_countries |
![]() | |
European Union Countries | general/country/eu_countries |
![]() | |
Top destinations | general/country/destinations | ||
State is Required for | general/region/state_required | ||
Allow to Choose State if It is Optional for Country | general/region/display_all | ||
Timezone | general/locale/timezone | ||
Locale | general/locale/code | ||
Weight Unit | general/locale/weight_unit | ||
First Day of Week | general/locale/firstday | ||
Weekend Days | general/locale/weekend | ||
Access Restriction | general/restriction/is_active |
![]() | |
Restriction Mode | general/restriction/mode |
![]() | |
Startup Page | general/restriction/http_redirect |
![]() | |
Landing Page | general/restriction/cms_page |
![]() | |
HTTP Response | general/restriction/http_status |
![]() | |
Store Name | general/store_information/name | ||
Store Phone Number | general/store_information/phone | ||
Store Hours of Operation | general/store_information/hours | ||
Country | general/store_information/country_id | ||
Region/State | general/store_information/region_id | ||
ZIP/Postal Code | general/store_information/postcode | ||
City | general/store_information/city | ||
Street Address | general/store_information/street_line1 | ||
Street Address Line 2 | general/store_information/street_line2 | ||
VAT Number | general/store_information/merchant_vat_number | ||
Enable Single-Store Mode | general/single_store_mode/enabled |
Web paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > Web.
Name | Config path | Commerce only? |
---|---|---|
Add Store Code to Urls | web/url/use_store | |
Auto-redirect to Base URL | web/url/redirect_to_base | |
Use Web Server Rewrites | web/seo/use_rewrites | |
Use Secure URLs on Storefront | web/secure/use_in_frontend | |
Use Secure URLs in the Admin | web/secure/use_in_adminhtml | |
Enable HTTP Strict Transport Security (HSTS) | web/secure/enable_hsts | |
Upgrade Insecure Requests | web/secure/enable_upgrade_insecure | |
Offloader header | web/secure/offloader_header | |
CMS Home Page | web/default/cms_home_page | |
CMS No Route Page | web/default/cms_no_route | |
CMS No Cookies Page | web/default/cms_no_cookies | |
Show Breadcrumbs for CMS Pages | web/default/show_cms_breadcrumbs | |
Cookie Lifetime | web/cookie/cookie_lifetime | |
Use HTTP Only | web/cookie/cookie_httponly | |
Cookie Restriction Mode | web/cookie/cookie_restriction | |
Validate REMOTE_ADDR | web/session/use_remote_addr | |
Validate HTTP_VIA | web/session/use_http_via | |
Validate HTTP_X_FORWARDED_FOR | web/session/use_http_x_forwarded_for | |
Validate HTTP_USER_AGENT | web/session/use_http_user_agent | |
Use SID on Storefront | web/session/use_frontend_sid | |
Redirect to CMS-page if Cookies are Disabled | web/browser_capabilities/cookies | |
Show Notice if JavaScript is Disabled | web/browser_capabilities/javascript | |
Show Notice if Local Storage is Disabled | web/browser_capabilities/local_storage |
Currency setup paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > Currency setup.
currency/options/base
currency/options/default
currency/options/allow
TBD
TBD
TBD
currency/yahoofinance/timeout
currency/fixerio/timeout
currency/webservicex/timeout
currency/import/enabled
currency/import/service
currency/import/time
currency/import/frequency
currency/import/error_email
currency/import/error_email_identity
currency/import/error_email_template
Contacts paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > Contacts.
contact/contact/enabled
contact/email/recipient_email
contact/email/sender_email_identity
contact/email/email_template
Reports paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > Reports.
reports/dashboard/ytd_start
reports/dashboard/mtd_start
Content management paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > Content Management.
cms/wysiwyg/enabled
cms/wysiwyg/use_static_urls_in_catalog
cms/hierarchy/enabled
cms/hierarchy/metadata_enabled
cms/hierarchy/menu_layout
New Relic reporting paths
These configuration values are available in the Admin in Stores > Settings > Configuration > General > New Relic Reporting.
newrelicreporting/general/enable
newrelicreporting/general/app_name
newrelicreporting/cron/enable_cron
Advanced category
This section lists variable names and config paths available for options in the Admin under Stores > Settings > Configuration > Advanced.
Admin paths
These configuration values are available in the Admin in Stores > Settings > Configuration > Advanced > Admin.
admin/emails/forgot_email_template
admin/emails/forgot_email_identity
admin/emails/user_notification_template
admin/startup/menu_item_id
admin/url/use_custom
admin/url/use_custom_path
admin/security/admin_account_sharing
admin/security/password_reset_protection_type
admin/security/password_reset_link_expiration_period
admin/security/max_number_password_reset_requests
admin/security/min_time_between_password_reset_requests
admin/security/use_form_key
admin/security/use_case_sensitive_login
admin/security/session_lifetime
admin/security/lockout_failures
admin/security/lockout_threshold
admin/security/password_lifetime
admin/security/password_is_forced
admin/dashboard/enable_charts
admin/captcha/enable
admin/captcha/font
admin/captcha/forms
admin/captcha/mode
admin/captcha/failed_attempts_login
admin/captcha/timeout
admin/captcha/length
admin/captcha/symbols
admin/captcha/case_sensitive
admin/magento_logging/actions
System paths
These configuration values are available in the Admin in Stores > Settings > Configuration > Advanced > System.
system/mysqlmq/successful_messages_lifetime
system/mysqlmq/retry_inprogress_after
system/mysqlmq/failed_messages_lifetime
system/mysqlmq/new_messages_lifetime
system/cron/index/schedule_generate_every
system/cron/index/schedule_ahead_for
system/cron/index/schedule_lifetime
system/cron/index/history_cleanup_every
system/cron/index/history_success_lifetime
system/cron/index/history_failure_lifetime
system/cron/index/use_separate_process
system/cron/default/schedule_generate_every
system/cron/default/schedule_ahead_for
system/cron/default/schedule_lifetime
system/cron/default/history_cleanup_every
system/cron/default/history_success_lifetime
system/cron/default/history_failure_lifetime
system/cron/staging/schedule_generate_every

system/cron/staging/schedule_ahead_for

system/cron/staging/schedule_lifetime

system/cron/staging/history_cleanup_every

system/cron/staging/history_success_lifetime

system/cron/staging/history_failure_lifetime

system/cron/staging/use_separate_process

system/cron/catalog/event/schedule_generate_every

system/cron/catalog/event/schedule_ahead_for

system/cron/catalog/event/schedule_lifetime

system/cron/catalog/event/history_cleanup_every

system/cron/catalog/event/history_success_lifetime

system/cron/catalog/event/history_failure_lifetime

system/cron/catalog/event/use_separate_process

system/cron/default/use_separate_process
system/smtp/disable
system/smtp/set_return_path
system/smtp/return_path_email
system/currency/installed
system/adminnotification/use_https
system/adminnotification/frequency
system/adminnotification/last_update
system/backup/enabled
system/backup/type
system/backup/time
system/backup/frequency
system/backup/maintenance
system/rotation/lifetime
system/rotation/frequency
system/full_page_cache/caching_application
system/full_page_cache/ttl
system/full_page_cache/varnish/grace_period
system/full_page_cache/varnish/export_button_version4
system/bulk/lifetime
system/media_storage_configuration/media_storage
system/media_storage_configuration/media_database
(deprecated in Commerce 2.4.3)system/media_storage_configuration/configuration_update_time
system/magento_scheduled_import_export_log/save_days
system/magento_scheduled_import_export_log/enabled
system/magento_scheduled_import_export_log/time
system/magento_scheduled_import_export_log/frequency
system/magento_scheduled_import_export_log/error_email_template
Developer paths
These configuration values are available in the Admin in Stores > Settings > Configuration > Advanced > Developer.
dev/front_end_development_workflow/type
dev/template/allow_symlink
dev/template/minify_html
dev/debug/template_hints_storefront
dev/debug/template_hints_admin
dev/debug/template_hints_blocks
dev/debug/debug_logging
dev/syslog/syslog_logging
dev/translate_inline/active
dev/translate_inline/active_admin
dev/js/merge_files
dev/js/enable_js_bundling
dev/js/minify_files
dev/js/translate_strategy
dev/js/session_storage_logging
dev/css/merge_css_files
dev/css/minify_files
dev/image/default_adapter
dev/static/sign
dev/grid/async_indexing
dev/caching/cache_user_defined_attributes