Skip to content

Magento2 extension to mark cms, category and product page as noindex & nofollow.

Notifications You must be signed in to change notification settings

inadeemkhan/magento2-meta-content

Repository files navigation

Mage2 Module Nadeem MetaContent

``nadeem/module-metacontent``

Main Functionalities

Magento2 extension to make pages meta robots content NoIndex,NoFollow

Installation

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

Type 1: Zip file

  • 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

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • 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

Configuration

  • is_enable (meta_content/general/is_enable)

Specifications

  • Helper

    • Nadeem\MetaContent\Helper\Data
  • Plugin

    • beforeRenderMetadata - Magento\Framework\View\Page\Config\Renderer > Nadeem\MetaContent\Plugin\Magento\Framework\View\Page\Config\Renderer

Attributes

  • Category - is_meta_enable (is_meta_enable)

  • Category - robots_value (robots_value)

Releases

No releases published

Packages

No packages published

Languages