smaex/sitemap-excludes 1.0.0

Excludes selected products from XML sitemaps in Magento 2.

Type

magento2-module

License

MIT

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2: Sitemap Excludes

Excludes selected products from XML sitemaps in Magento 2.

Intro

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.

How to use

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.

Screenshot: How to exclude selected products from XML sitemaps in Magento 2.

How to install

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 hiring!

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]