hryvinskyi / magento2-seo-robots-product-pack
Complete SEO Robots Product package - includes API, Core, Admin UI, and Frontend modules for product-level robots meta tag and X-Robots-Tag header management
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:metapackage
pkg:composer/hryvinskyi/magento2-seo-robots-product-pack
Requires
Requires (Dev)
- roave/security-advisories: dev-latest
README
Complete SEO Robots functionality for Magento 2 products, enabling granular control over search engine indexing at the product level.
Features
- Robots Meta Tag: Control the
<meta name="robots">tag for each product - X-Robots-Tag Header: Set HTTP X-Robots-Tag header with optional bot-specific targeting
- Sync Checkbox: Option to use same directives for both meta tag and HTTP header
- Multiselect UI: Easy-to-use directive selection in product admin form
- Store View Scope: Configure different robots settings per store view
Modules Included
- SeoRobotsProductApi - API interfaces and constants
- SeoRobotsProduct - Core implementation with EAV attributes
- SeoRobotsProductAdminUi - Admin form fields and modifiers
- SeoRobotsProductFrontend - Frontend meta tag and header rendering
Installation
composer require hryvinskyi/magento2-seo-robots-product-pack bin/magento setup:upgrade bin/magento cache:flush
Configuration
- Go to Catalog > Products > Edit Product
- Navigate to Search Engine Optimization section
- Configure:
- Robots Meta Tag: Select directives (NOINDEX, NOFOLLOW, etc.)
- Use same robots as in meta tag: Toggle to sync with meta tag
- X-Robots-Tag Header: Set independent directives when checkbox is disabled
Dependencies
- Magento 2.4+
- hryvinskyi/magento2-seo-robots-api
- hryvinskyi/magento2-seo-robots-frontend
- hryvinskyi/magento2-seo-admin-ui
License
MIT License