The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

How to Configure the Default Page in Magento 2

In this topic, I will introduce how to configure the default CMS page. The default page is a page which will be appeared when you click on base URL. Often the home page is configured as the default page. Also, when a “Page Not Found” error occurs, the default page will be shown.

Configure the default pages in Magento 2

Follow the simple guide to Configure the Default Pages in Magento 2:

  • On the Admin panel, click Stores. In the Settings section, select Configuration.
  • Select Web under General in the panel on the left
  • Open the Default Pages section, and continue with following:
    • In the Default Web URL field, the default value cms or enter other value as needed
    • In the CMS Home Page field, select the page you want to become your home page, you should select “Home Page”
    • In the Default No-route URL field, the default value is “cms/index/noRoute.” or enter other value as needed
    • In the CMS No Route Page field, select 404 Page Not Found value to show CMS page when a 404 Not Found error appears
    • In the CMS No Cookies Page field, select Enable Cookies value to show CMS Page when cookies are disabled in the browser
    • In the Show Breadcrumbs for CMS Pages field, set Yes if you want to show a breadcrumb trail at the top of all CMS pages
  • When complete, click Save Config.

62% stores have vulnerability and 14% stores have 4+ security issues.

How to Configure the Default Page

The bottom line

This is a quick guide on how to set the default page in Magento 2. This configuration is necessary for the display of the base URL, and also in case there is a 404 Not Found error. If you need help with this, don’t hesitate to leave a comment or contact us here.

Related Topics

Image Description
Hello, I'm the Chief Technology Officer of Mageplaza, and I am thrilled to share my story with you. My deep love and passion for technology have fueled my journey as a professional coder and an ultra-marathon runner. Over the past decade, I have accumulated extensive experience and honed my expertise in PHP development.

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

    Explore Our Products:


    Stay in the know

    Get special offers on the latest news from Mageplaza.

    Earn $10 in reward now!

    Earn $10 in reward now!

    go up