← All modules

Magento 2 module

HTML Sitemap

Adds an HTML sitemap page to the store that lists the category tree with its products and all CMS pages, helping shoppers and search engines find every page.

An HTML sitemap is a regular store page that links to all important pages in one place. Shoppers can use it as an overview when navigation or search does not help, and search engines use it to discover and crawl pages. This module adds such a page to your store.

Features

  • New “Sitemap” page in the store, available at the address “/sitemap”.
  • “Catalog” section with the complete category tree of the store view, in the same order as in the admin, with the products of each category listed below it.
  • “Sites” section with all active CMS pages of the store view (except the home page, the 404 page and the cookie notice page).
  • Page title “Sitemap”, meta description and breadcrumbs are set automatically.
  • Every entry links directly to the category, product or CMS page.

Configuration

There is nothing to configure. The page is available right after installation. Add a link to it, for example in the footer, so shoppers can find it.

Good to know

Because all products of each category are listed, the page can become very long in large catalogs. The page complements, but does not replace, an XML sitemap for search engines such as the one created by the “Sitemap” module.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-html-sitemap

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.