anasstouaticoder/magento2-module-sitemapremoveitem

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

1.3.8 2023-06-04 14:26 UTC

This package is auto-updated.

Last update: 2024-05-20 01:18:04 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 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667
``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