Web

Web configuration settings are found in Stores > Settings > Configuration > General > Web.

URL Options

Web > General Options URL Options configuration settings

Field Scope Description
Add Store Code to URLs Global If Web Server Rewrites are enabled, inserts the Store Code of the current view in the URL—Yes or No
Auto-redirect to Base URL Global (For single-store setups) If there is a broken link on your site, redirects traffic to the base URL, rather than to a page with a “404 Page Not Found” message—No, Yes (302 Found), or Yes (301 Moved Permanently).

Do not use auto-redirect to base URL for multi-store setups.

Search Engine Optimization

See URL Rewrite for specific configuration fields and options.

Web > Search Engine Optimization Search Engine Optimization configuration settings

Field Scope Description
Use Web Server Rewrites Store View PHP-based systems typically include a file called index.php in the root folder. By default, the file name appears in the URL just after the name of the root folder. When Web Server Rewrites are enabled, the system omits index.php from the URL. This usability best practice makes each URL more concise, and has no impact on performance or site rank. Options—Yes or No.

Base URLs

See Store URLs for specific configuration fields and options.

Web > Base URLS Base URLS configuration settings

Field Scope Description
Base URL Store View The full address of the Magento root folder that is not running over an encrypted (SSL) channel. The URL must end with a forward slash.
Base Link URL Store View A markup tag that is used as a placeholder for the base URL.
Base URL for Static View Files Store View A path that points to the location of static files used by the theme, such as css, fonts, images, and JavaScript. A placeholder is used to represent the base URL.If your Magento installation has multiple sites with the same folder structure, you can have a different folder for each site. Set the configuration scope to the correct site before entering the base URL for static view files. You can also specify a folder outside of your Magento installation.
Base URL for User Media Files Store View A path that points to the location of catalog images and other media files. A placeholder is used to represent the base URL.If your Magento installation has multiple sites with the same folder structure, you can have a different media folder for each. This gives you the ability to backup and rollback each media folder separately. You can also specify a media folder outside of your Magento installation.

Base URLs (Secure)

See Base URLs (Secure) for specific configuration fields and options.

Web > Base URLs (Secure) Base URLs (Secure) configuration settings

Field Scope Description
Secure Base URL Store View The full address of the Magento root folder that is delivered with encrypted secure (SSL/TLS) protocol. The URL must end with a forward slash.
Secure Base Link URL Store View A markup tag that is used as a placeholder for the base URL that runs over a secure channel.
Secure Base URL for Static View Files Store View A markup tag that points to the location of static files such as CSS, fonts, images, and JavaScript that are used by the theme. The files can be located on either an unsecure or secure channel. If your Magento installation has multiple sites with the same folder structure, you can have a different folder for each site. Set the configuration scope to the correct site before entering the base URL for static view files. You can also specify a folder outside of your Magento installation.
Secure Base URL for User Media Files Store View A path that points to the location of catalog images and other media files. The files can be located on either an unsecure or secure channel. A placeholder is used to represent the base URL. If your Magento installation has multiple sites with the same folder structure, you can have a different media folder for each. This gives you the ability to backup and rollback each media folder separately. You can also specify a media folder outside of your Magento installation.
Use Secure URLs on Storefront Store View If your domain has a security certificate, you can choose to run the storefront, with or without SSL encryption.

Yes—Store URLs begin with https to indicate that the page is delivered with encrypted, secure protocol.
No—Store URLs begin with http to indicate that the page is delivered without secure protocol.
Use Secure URLs in Admin Global If your domain has a security certificate, you can choose to run the store Admin, with or without SSL encryption.

Yes—Admin URLs begin with https to indicate that the page is delivered with encrypted, secure protocol.
No—Admin URLs begin with http to indicate that the page is delivered without secure protocol.

Default Pages

See Default Pages for specific configuration fields and options.

Web > Default Pages Default Pages configuration settings

Field Scope Description
Default Web URL Store View Indicates the landing page that is associated with the base URL. This is set by default to “cms” to indicate a page from Magento’s content management system. You can also use a different type of landing page, such as a blog. For example, if a blog is installed on the server at magento/blog, you can enter the name of the “blog” folder as a relative path to the selection of pages.
CMS Home Page Store View To choose the home page for the store, simply select the CMS page from the list. By default, the CMS Home Page lists the entire selection of CMS pages that are available for your store.
Default No-route URL Store View Contains the URL of the default page that you want to appear when if a 404 Page not Found error occurs. The default value is cms/index/noRoute.
CMS No Route Page Store View Identifies a specific CMS page that you want to appear when a 404 Page Not Found error occurs. The default page is 404 Not Found.
CMS No Cookies Page Store View Identifies a specific CMS page that appears when cookies are not enabled for the browser. The page explains why cookies are used, and how to enable them for each browser. The default page is Enable Cookies.
Show Breadcrumbs for CMS Pages Store View Determines if a breadcrumb trail appears on all CMS pages in the catalog—Yes or No.

Default Layouts

See Default Layouts for specific configuration fields and options.

Default Layouts

FieldScopeDescription
Default Product LayoutGlobalDetermines the layout that is used by default for product pages. Options:
No layout updatesBy default, layout updates are not available for product pages.
EmptyBy default, uses a blank layout for product pages.
1 columnBy default, uses a single column layout for product pages.
2 columns with left barBy default, uses a two-column layout with the sidebar on the left for product pages.
2 columns with right barBy default, uses a two-column layout with the sidebar on the right for product pages.
3 columnsBy default, uses a three-column layout with sidebars on the left and right for product pages.
Page -- Full Width(Requires Page Builder) By default, uses the Page -- Full Width layout for product pages.
Category - Full Width(Requires Page Builder) By default, uses the Category - Full Width layout for product pages.
Product - Full Width(Requires Page Builder) By default, uses the Product - Full Width layout for product pages
Default Category LayoutGlobalDetermines the layout that is used by default for category pages.
No layout updatesBy default, layout updates are not available for category pages.
EmptyBy default, uses a blank layout for category pages.
1 columnBy default, uses a single column layout for category pages
2 columns with left barBy default, uses a two-column layout with the sidebar on the left for category pages
2 columns with right barBy default, uses a two-column layout with the sidebar on the right for category pages
3 columnsBy default, uses a three-column layout with sidebars on the left and right for category pages
Page - Full Width(Requires Page Builder) By default, uses the Page - Full Width layout for category pages.
Category - Full Width(Requires Page Builder) By default, uses the Category - Full Width layout for category pages.
Product - Full Width(Requires Page Builder) By default, uses the Product - Full Width layout for category pages
Default Page LayoutGlobalDetermines the layout that is used by default for CMS pages.
No layout updatesBy default, layout updates are not available for CMS pages
EmptyBy default, uses a blank layout for CMS pages
1 columnBy default, uses a single column layout for CMS pages
2 columns with left barBy default, uses a two-column layout with the sidebar on the left for CMS pages
2 columns with right barBy default, uses a two-column layout with the sidebar on the right for CMS pages
3 columnsBy default, uses a three-column layout with sidebars on the left and right for CMS pages
Page - Full Width(Requires Page Builder) By default, uses the Page - Full Width layout for CMS pages.
Category - Full Width(Requires Page Builder) By default, uses the Category - Full Width layout for CMS pages.
Product - Full Width(Requires Page Builder) By default, uses the Product - Full Width layout for CMS pages

See Default Cookie Settings for specific configuration fields and options.

Web > Default Cookie Settings Default Cookie configuration settings

Field Scope Description
Cookie Lifetime Store View Determines how long a cookie can exist before it is automatically deleted; Default value is 3600 seconds (1 hour)
Cookie Path Store View Specifies the folders on the server where Magento cookies can be used. To make Magento cookies available everywhere in the installation, set the Cookie Path to a single forward slash: /.
Cookie Domain Store View Determines if Magento cookies are available to subdomains. For example, to support this subdomain, http://subdomain.domain.com/, enter the name of your domain with a period at the beginning, like .domain.com.
Use HTTP Only Store View Determines if Magento Cookies can be used only over an unsecure channel (http), or can also be used over an encrypted channel (https)—Yes or No.
Cookie Restriction Mode Website Determines if Cookie Restriction Mode is enabled.—Yes or No.

Session Validation Settings

See Session Validation Settings for specific configuration fields and options.

Web > Session Validation Session Validation configuration settings

Field Scope Description
Validate REMOTE_ADDR Global Verifies that the IP Address of a request matches $_SESSION data. The session terminates if a different IP address is detected—Yes or No.
Validate HTTP_VIA Global Verifies incoming proxy data and checks that the proxy address of a request matches $_SESSION data. The session terminates if a different proxy address is detected—Yes or No.
Validate HTTP_x_FORWARDED_FOR Global Verifies outgoing proxy data and checks that the forwarded-for address of a request matches $_SESSION data. The session terminates if a different forwarded-for address is detected.—Yes or No.
Validate HTTP_USER_AGENT Global USER_AGENT refers to the browser or device that is used to access the website. It verifies that the name and version of the browser, and operating system, matches $_SESSION data. The session terminates if a different user agent is detected from one request to another in the same session—Yes or No.
Use SID on Frontend Website The session ID (SID) is a unique code added to storefront URLs to ensure that each user is attached to the correct session data. The SID also makes it possible for customers to stay logged in when switching stores. If using analytics, you must configure the program to filter the SID from URLs in order to get an accurate page visit report—Yes or No.

Browser Capabilities Detection

See Browser Capabilities Detection for specific configuration fields and options.

Web > Browser Capabilities Detection Browser Capabilities Detection configuration settings

Field Scope Description
Redirect to CMS-page if Cookies are Disabled Store View If cookies are disabled by the browser, it automatically redirects to the CMS No Cookies Page—Yes or No.
Show Notice if JavaScript is Disabled Store View If JavaScript is disabled by the browser, it displays a notice that prompts the user to enable JavaScript—Yes or No (disables it).
Show Notice if Local Storage is Disabled Store View Displays a message if the local cache is disabled—Yes or No.