Skip to content
SEO Extensions

HTML Sitemap for Magento 2

Add a customer-facing /sitemap page with selected category, product and CMS links. Configure category depth, paginated product lists and optional sections, then inspect navigation on your theme.

  • Free
  • Themes listed: Hyvä + Luma
Free $0.00, in stock
Check requirementsSee the versions and themes listed for this package. Details Ask about setupInclude the package name and your Magento and PHP versions. Ask
$0.00
In stock
SKU
panth-html-sitemap
Links
composer require mage2kishan/module-html-sitemap
SKU
panth-html-sitemap
  • Package requirementsRead the source documentation
  • Developer profileView Upwork profile
  • Themes listedHyvä + Luma
  • PHP versions listed8.1, 8.2, 8.3, 8.4
  • Installation questionsDiscuss your store setup

What it does for your store

The main features, as listed in the module documentation.

  • Customer-facing sitemap

    Provide a /sitemap navigation page through the module router.

  • Configurable category tree

    Use the store root, depth and category exclusion settings.

  • Paged product navigation

    Choose page size, sorting and product-link structure.

  • Selected content sections

    Include CMS links and eligible optional module sections when configured.

Installation

Example commands from the Magento root. Follow the package instructions and your staging and deployment process.

  1. 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
  2. 2Install on stagingReview Composer changes and follow the package instructions.
  3. 3Configure and verifyUse the documented settings and test the affected features.
magento-root
$ composer require mage2kishan/module-html-sitemap
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy -f
$ bin/magento cache:clean

Listed requirements

These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.

Magento versions listed2.4.6, 2.4.7, 2.4.8
PHP versions listed8.1, 8.2, 8.3, 8.4
Themes listedHyvä, Luma
Composer packagemage2kishan/module-html-sitemap

Read package requirements and license

Documentation

Product details and setup guidance. Check the package repository for release-specific instructions.

Overview

Give visitors a place to browse useful store destinations when the main menu is not enough. Panth HTML Sitemap provides a /sitemap page with a category tree, a paginated product list and selected CMS links. You choose the sections, depth and exclusions.

What you get

  • A customer-facing sitemap route and its storefront template.
  • Store-root category navigation with a per-category exclusion flag.
  • Product pagination, sorting and URL-structure controls.
  • CMS links, optional integrations, custom links and an optional client-side filter.

Magento 2 HTML Sitemap

This module builds an HTML navigation page. It does not generate an XML sitemap protocol file. Use XML Sitemap for that separate workflow. Clear internal links can help people and crawlers find pages, but adding a directory does not guarantee that its targets will be indexed.

Features

Release 1.0.20 selects eligible products for the current website/store and requires a usable non-redirect product rewrite. It caps the available product pages at 2,000. Choose a sensible page size and inspect later pages; a large catalogue is not a reason to promise a benchmark or expose every internal URL.

Usage

Request /sitemap through the intended store host. Follow category, product, CMS and pager links, including a later page. Check the public page at narrow widths and with a keyboard.

Storefront page

The custom router recognizes /sitemap when enabled. A CMS page, rewrite or web-server rule using the same path can change the result. Compare the actual route, title and selected sections before adding a footer link.

Hiding a category

Use the exclude_from_html_sitemap category setting where appropriate. The category tree also respects store-root, activity and depth controls. This is a sitemap-display choice; it does not automatically remove the category from search indexes or other navigation.

Admin behaviour

Settings are read at the selected scope. Save only the intended configuration and verify the resulting page and caches. Excluding a CMS identifier affects this directory, not the underlying CMS page or its robots policy.

Templates

The release includes its own storefront template and assets. Review output on the installed theme and any custom rendering. The optional search field filters content already rendered in the browser; it does not perform a server-side search across every paginated product.

Changelog

See CHANGELOG.md.

Compatibility

Check the release requirements below against your Magento and PHP versions. During staging deployment, test your theme and custom extensions as well as the module itself. Use Adobe's version-specific requirements to check the underlying platform services.

Release requirementDeclared value / check
Packagemage2kishan/module-html-sitemap 1.0.20
PHP~8.1.0||~8.2.0||~8.3.0||~8.4.0
Panth Core^1.0
Magento componentsUse the exact Composer constraints in this release
Theme / editionTest the chosen theme and project integrations on staging

Requirements

Release 1.0.20 declares PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0, mage2kishan/module-core:^1.0 and the Magento component constraints in its Composer manifest. Resolve those dependencies for the exact release you intend to deploy, then follow the installation and storefront checks below.

Installation

Install the selected release on a staging copy first. The commands identify its Composer package and Magento modules; setup, compilation and static assets must follow your deployment mode and rollback process. Check the resulting storefront or endpoint before production use.

composer require mage2kishan/module-html-sitemap
bin/magento module:enable Panth_Core Panth_HtmlSitemap
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
bin/magento module:status Panth_HtmlSitemap

Configuration

Open Stores > Configuration > Panth Infotech > HTML Sitemap and choose the intended scope.

Review the public sections before enabling links to the page. Select an appropriate product page size, category depth and CMS exclusions. Optional integrations can add links from other supported modules, so check the resulting public destinations rather than assuming their policies match yours.

ControlDefaultUse
EnabledYesMatch the /sitemap route
Categories / depthYes / 0Show store-root tree;0 means unlimited depth
Products / page sizeYes / 500Page size clamped 50-2000
Product sortingName ascendingChoose supported sort order
Product URL structureShortChoose short or category-based links
CMS pages / exclusionsYes / emptySelect public CMS destinations
Store switcherNoList active store views when enabled
Optional module sectionsYesRender eligible supported-module records
Custom linksNoURL | Label entries
Search fieldNoFilter already rendered content
Meta title / descriptionSite Map / emptySet the directory page head

Uninstallation

Check dependent packages and take the relevant configuration/data backup before removing code. Follow a reviewed removal plan. Disabling a module does not prove that its stored settings, records or prior file changes have been removed.

bin/magento module:disable Panth_HtmlSitemap
composer remove mage2kishan/module-html-sitemap
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean

License

This 1.0.20 release declares MIT and includes its licence notice. Keep the required notice with redistribution. Check the terms that apply to the release you use and any separately agreed services.

Developer Notes

The view model reads store-effective catalogue values and non-redirect rewrites, paginates eligible products and supplies cache identities. CMS, optional-module and custom-link sections have separate selection rules. Extensions should preserve store scope, URL safety and output escaping, then test real navigation and cache refresh.

More information
Module Category SEO & Indexing
Best For All Sizes

Changelog

  1. 1.0.3

    • Full Preview gallery in README, 7 screenshots organised into three sections: Admin Configuration, Frontend, Hyvä theme, Frontend, Luma theme. Each theme section is a 3-column table showing the hero + tree, product grid, and CMS-pages block side by side, demonstrating that the theme-agnostic template produces identical output on both stores.
    • All screenshots resized to 1400px max width (via sips) and polished with a 1px #e5e7eb border (via ImageMagick) so they don't blend into the white GitHub page background. Metadata stripped for privacy.
  2. 1.0.2

    • docs/admin-configuration.png screenshot + Preview section in README showing all 15 admin toggles at Stores → Configuration → Panth Infotech → HTML Sitemap.
  3. 1.0.1

    • ACL XML duplicate resource-id error that prevented the admin config page from loading (Panth_X::config was declared under both Panth_Core::panth_extensions and Magento_Config::config). The redundant declaration under Panth_Core::panth_extensions has been removed; the menu link continues to gate on the real system-config resource.
Full history on GitHub
Kishan Savaliya

Questions before you install?

Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.

Ask on Discord