Excludes selected products from XML sitemaps in Magento 2.
Magento already offers many SEO related features out of the box, like generating XML sitemaps for CMS pages, categories, products and product images.
For certain use cases, however, merchants might want to show specific products on category pages and in on-site search results, but not in search results provided by external search engines.
This extension works pretty much without further configuration, and allows merchants to exclude individual products from XML sitemaps on a store-level with a new product attribute.
Require the extension via Composer.
$ composer require smaex/sitemap-excludes ^1.0
Enable the module via Magento’s CLI.
$ magento module:enable Smaex_SitemapExcludes $ magento setup:upgrade $ magento setup:di:compile
We’re currently looking for interested ~~masochists~~ PHP & Magento developers to join our Magento Team in Munich. Just drop me a line via [email protected]