HTML Sitemap for Magento 2

HTML Sitemap

Introduction

The extension allows creating a convenient overview of the whole store structure while helping search engines better crawl and index your store pages .

Installation

The extension has 2 separate ways of installation, via Composer or by copying the code.

Please follow this Installation Guide to install the extension.

HTML Sitemap

Configuration Settings

To access the HTML Sitemap settings, log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ ULMOD EXTENSIONS ⟶ SEO HTML Sitemap.

The extension settings contain seven sections: General, Stores, Categories, Products, CMS, Additional, Trailing Slash

General

Defines the Title, Meta Description, and Meta Keyword of the HTML Sitemap page

Layout Type - select the layout type of the HTML Sitemap page:

  • Layout 1 - product list moved into categories
  • Layout 2 -  product list separated from categories

Stores

Show Stores View - set to "Yes", to show the store view block on the sitemap page or "No" to hide it

Block Title -  define the categories block title to appear on the page

Categories

Show Categories - set to "Yes", to show categories block on the sitemap page or "No" to hide it

Block Title -  define the title of the categories block to appear on the page. Eg :'Categories'. 
Note: the defined block title will show if "Layout Type" field is set to "Layout 2 : Product List separated from categories" under Index section. If there are no links/URLs, the block title won't show

Sort categories by - choose how to sort categories on HTML sitemap page: by Position or Name (Alphabetically)

Products

Show Products - set to "Yes", to show products block on the sitemap page or "No" to hide it

Block Title - define the title of the product block to appear on the page. Eg :'Products'.
Note: the defined block title will show if "Layout Type" field is set to "Layout 2 : Product List separated from categories" under Index section. If there are no links/URLs, the block title won't show

Use Categories Path for Product URLs - If "Yes", the category paths will be included in product URLs.
Eg: http://www.domain.com/category1/subcategory1/product.html. If "No" category paths won't be included in the product URLs: Eg. http://www.domain.com/product.html.

CMS

Show CMS Pages - set to "Yes", to show CMS Pages block on the sitemap page or "No" to hide it

Block Title -  define the title of the CMS Pages block to appear on the page. Eg :'CMS Pages'. If there are no CMS links/urls, the block title won't show

Additional

Show Additional Links - set to "Yes", to show Additional Links block on the sitemap page or "No" to hide it

Block Title -  define the title of Additional Links block to appear on the page. Eg :'Additional Links'.
If no links/URLs, block title won't show

Additional Links - add a comma-delimited list of links and anchor text to append to the sitemap, one link and anchor text per line.
Example :
customer/account/,Customer Account
custom/customlink1/,Custom Link1
custom/customlink2/,Custom Link2

Trailing Slash

For Home Page URL - choose to "Add" or "Crop" trailing slash in homepage url

For Other Pages URLs - choose to "Add" or "Crop" trailing slash to others pages URLs

Note: Trailing slash can be added to pages without suffix .html or .htm

Individual Settings

The extension allows to include or exclude category, product and CMS page individually to HTML Sitemap

Categories

To individually include category to the HTML sitemap, go to PRODUCTS ⟶ Inventory ⟶ Categories, pick the desired Category and open the Search Engine Optimization tab. Then, set Include in HTML Sitemap to "Yes". to exclude the category in the HTML Sitemap, set this field to "No"

Products

To individually include product to the HTML sitemap, go to PRODUCTS ⟶ Inventory ⟶ Catalog, select the product and go to the Search Engine Optimization tab. Then, set Include in HTML Sitemap to "Yes". to exclude the product in the HTML Sitemap, set this field to "No"

CMS Pages

To individually include a CMS page to the HTML sitemap, go to CONTENT ⟶ Elemets ⟶ Pages, select the CMS page and go to the Search Engine Optimization tab. Then, set Include in HTML Sitemap to "Yes". to exclude the CMS page in the HTML Sitemap, set this field to "No"

Frontend View

Example of HTML Sitemap page with layout 1(product list moved into categories)

Example of HTML Sitemap page with layout 2(product List separated from categories)

Extension Support

Need Help?

Ulmod Support team is always ready to assist you, no matter which part of the world you are in. If something does happen and you think you might be experiencing an issue or bug, please contact us via [email protected] or submit a ticket from our Helpdesk Ticket and we will help you out.

Got Questions?

Should you have any questions or feature suggestions, please Contact Us. Your feedback is welcome!

Extension Product Page