anasstouaticoder/magento2-module-sitemapremoveitem

The SitemapRemoveItem module provides easy way to remove unwanted elements from Magento 2 Sitemap

1.3.9 2024-05-27 08:12 UTC

This package is auto-updated.

Last update: 2024-12-20 02:32:35 UTC


README

Magento 2 Module AnassTouatiCoder SitemapRemoveItem

Remove unwanted Sitemap items based on their URI

Supported Magento Versions Latest Stable Version Composer Downloads Maintained - Yes
``anasstouaticoder/magento2-module-sitemapremoveitem``

Main Functionalities

Provide easy way to remove unwanted sitemap rows.

Installation

* = in production please use the --keep-generated option

install from composer 2

  • In magento project root directory run command composer require anasstouaticoder/magento2-module-sitemapremoveitem
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_SitemapRemoveItem
  • Flush the cache by running php bin/magento cache:flush

Zip file

  • Unzip the zip file in app/code/AnassTouatiCoder
  • Enable the module by running php bin/magento module:enable AnassTouatiCoder_SitemapRemoveItem
  • Flush the cache by running php bin/magento cache:flush

Configuration

Go to Store => Configution => Section Atouati Tools add Items that will be removed from SiteMaps

Specifications

This plugin gives the administrators the ability to clean up Sitemap from unwanted URLS rows.

see Demo

Usage

In Back Office, go to Store => Configuration => ATOUATI TOOLS => General => URLs to remove from Sitemap.

Add unwanted uri to the table and save. Make sure to select URI Match Type that you needed: Contains removes one or more, equals removes one row).

  • use case 1: URI => women/tops-women URI Match Type => Contains
  • use case 2: URI => men/bottoms-men/pants-men.html URI Match Type => Equals

License

MIT