Pages

Content can be viewed in terms of its shelf life, just as any product in a store. Did you know that the shelf life of social media content is less than 24 hours? The potential shelf life of the content you create can help you decide where to invest your resources.

Content with a long shelf life is sometimes referred to as evergreen content. Examples of evergreen content include customer success stories, how to instructions, and Frequently Asked Questions (FAQ). In contrast, content that is perishable by nature includes events, industry news, and press releases.

w-700 modal-image
The About Us page included with the sample Luma store

Core Content pages

The Commerce demo store has examples of core content pages to help you get started. All of these pages can be modified to meet your needs. Look at the following pages in your store and make sure that the content conveys your message, voice, and brand.

Home

The demo Home page includes a banner, an image carousel, several static blocks with links, and a list of new products.

Privacy Policy

The store Privacy Policy page should be updated with your own information. As a best practice, your privacy policy should explain to your customers the type of information that your company collects and how it is used.

404 Not Found

The 404 Page Not Found page is named for the response code that is returned when a page cannot be found. URL redirects reduce the number of times that this page appears. However, for those times when it is necessary, you might as well take advantage of the opportunity to offer some links to products that the customer might find interesting.

Access Denied

+-------------------------------------------+ | img-md | +===========================================+ | w-20 | +-------------------------------------------+ | B2B for Adobe Commerce feature | +-------------------------------------------+Exclusive feature available only with B2B for Adobe Commerce

The Access Denied page appears when the permissions that are assigned to a company user prevent access to the page.

Enable Cookies

The Enable Cookies page appears when visitors to your site do not have cookies enabled in their browsers. The page provides step-by-step, illustrated instructions to enable cookies for the most popular browsers.

Service Unavailable

The 503 Service Unavailable page is named for the response code that is returned when the server is unavailable.

About Us

The About Us page is linked from the footer of your store. You can include images, video, links to press releases and announcements. The sample page has an image on the right, and a decorative one to indicate the end of the page.

Customer Service

The Customer Service page is another node in the page hierarchy. The two headers on the page have content that only becomes visible when the customer clicks the header.

w-700 modal-image
Customer Service page on the storefront

Configure 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.

  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.

    img-md
    w-500 modal-image
    Default pages
    table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 5-row-3 6-row-3 layout-auto
    Field Scope Description
    Default Web URL Store View Indicates the landing page that is associated with the base URL. By default, this field is set 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.

    The default setting, cms, indicates a page from the Commerce content management system.

    note note
    NOTE
    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 the 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.

recommendation-more-help
2b0136b4-ef75-405f-9734-60d741f198de