Sitemap Exclusion
Magento 2 Extension — User Guide & Documentation
1 · Installation
Two ways to install — via Composer or by uploading the app folder. Both end with the same Magento CLI steps.
System requirements
- Magento 2.3.x / 2.4.x installed and working
- PHP, MySQL/MariaDB and web server meeting Magento 2 system requirements
- SSH access to run Magento CLI commands
Method 1 — Install via Composer (recommended)
- Open a terminal in your Magento 2 root directory and require the package:
composer require magepow/sitemapexclusion - Run the Magento setup upgrade:
php bin/magento setup:upgrade - Deploy static content (production mode):
php bin/magento setup:static-content:deploy -f - Flush the cache:
php bin/magento cache:flush
Method 2 — Manual install (upload app folder)
- Download the extension package and unzip it. Upload the
appfolder to your Magento 2 root so it merges with the existingappdirectory. - Run the following commands from the Magento 2 root:
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento cache:flush - Log out of the Admin panel and log back in to refresh access permissions, then clear the cache under
System > Cache Management.
2 · Configuration & Usage
All settings live in the Magento Admin panel. Screenshots below match the default Admin theme.
1 - How to configure the extension
General Configuration
To Exclusion of child categories followed by parentsMagepow Sitemap Exclusion Extension: Go to Admin Panel > Stores > Settings > Configuration > Magepow > Sitemap Exclusion. Then, select Yes to Enable the features/No to Disable the Feature
.This part helps you to exclude all the subcategories followed by parent category. In case you select No, the module will exclude followed by the configuration for each part
2 - How to configure detail for Admin?
Config Product
In Admin > Catalog > Product

Click a product in Exclude from Sitemap, choose yes/no will hide or show link product in XML Sitemap.
Config Category
In dmin > Catalog > Categories

Click a product in Exclude from Sitemap, choose yes/no will hide or show link category in XML Sitemap.
CMS Admin
InMagento Admin > Catalog > Categoriest

Click edit a cms page in Exclude from Sitemap, choose yes/no will hide or show link cms page in XML Sitemap.
Results
Login to Magento Admin > Marketing > Site Map => Click Add site map > Save and click link site map will show google site map.

3 · Support
Found a bug or need customization? Contact us — we usually reply within 24–48 hours.
Need help?
- Ticket support: support.magepow.com — we reply within 24–48 hours (usually much faster). Please include your Magento version, extension version and screenshots/error messages.
- Documentation: docs.magepow.com
- Video tutorials: Magepow on YouTube
Bug reports
If you find a bug, please report it via the ticket system with steps to reproduce, expected vs. actual behavior, and any relevant logs (var/log/system.log, var/log/exception.log).