``nadeem/module-metacontent``
Magento2 extension to make pages meta robots content NoIndex,NoFollow
* = in production please use the --keep-generated
option
- Unzip the zip file in
app/code/Nadeem
- Enable the module by running
php bin/magento module:enable Nadeem_MetaContent
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require nadeem/module-metacontent
- enable the module by running
php bin/magento module:enable Nadeem_MetaContent
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- is_enable (meta_content/general/is_enable)
-
Helper
- Nadeem\MetaContent\Helper\Data
-
Plugin
- beforeRenderMetadata - Magento\Framework\View\Page\Config\Renderer > Nadeem\MetaContent\Plugin\Magento\Framework\View\Page\Config\Renderer
-
Category - is_meta_enable (is_meta_enable)
-
Category - robots_value (robots_value)