Default Pages

The Default Pages configuration determines the landing page that is associated with the base URL and the corresponding home page. It also determines which page appears when a Page Not Found error occurs, and if a breadcrumb trail appears at the top of each page.

Configure the default pages

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel under General, choose Web.

  3. Expand Expansion selector the Default Pages section.

    Default pages

    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 the Commerce 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 folder name blog 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 a 404 Page not Found error occurs. The default value is cms/noroute/index.
    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. Options: Yes / No
  4. For Default Web URL, enter the relative path to the folder in the Commerce installation that contains the landing page.

    This is set by default to cms to indicate a page from the Commerce content management system.

    For a specific store view, clear the Use Default checkbox next to Default Web URL, and any other default settings to be changed.

  5. Set CMS Home Page to the CMS page to be used as the home page. Other created pages may be used as the home page, such as:

    • Welcome to our Exclusive Online Store
    • Rewards Points
    • About Us
    • Customer Service
    • Enable Cookies
    • Privacy Policy
    • Company: Access Denied
  6. For Default No-route URL, enter the relative path to the folder in the Commerce installation where the page is redirected when a 404 Page Not Found error occurs.

    The default value is cms/index/noRoute.

  7. Set CMS No Route Page to the CMS page that appears when a 404 Page Not Found error occurs.

  8. Set CMS No Cookies Page to the CMS page that appears when cookies are disabled in the browser. The page explains why cookies are used, and how to enable them for each browser. The default page is Enable Cookies.

  9. If you want a breadcrumb trail to appear at the top of all CMS pages, set Show Breadcrumbs for CMS Pages to Yes.

  10. When complete, click Save Config.