hryvinskyi / magento2-seo-robots-admin-ui
Admin UI for SEO Robots module with flexible directive management and multiselect interface
Installs: 640
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
pkg:composer/hryvinskyi/magento2-seo-robots-admin-ui
Requires
- hryvinskyi/magento2-seo-admin-ui: 1.0.*
- hryvinskyi/magento2-seo-robots: ^2.0.0
- magento/framework: *
Requires (Dev)
- roave/security-advisories: dev-latest
README
Admin UI module for managing SEO robots meta tags in Magento 2.
Part of hryvinskyi/magento2-seo-robots-pack - Complete SEO Robots solution for Magento 2
Description
This module provides the admin panel interface for configuring robots meta tags in Magento 2. It adds configuration fields to the Magento admin area and provides backend models for data processing.
Features
- Admin configuration interface
- URL pattern-based robots configuration with priority
- HTTPS-specific robots settings
- 404 page robots configuration (NOINDEX, NOFOLLOW)
- Paginated content robots settings
- X-Robots-Tag HTTP header enable/disable option
- Custom backend models for configuration data processing
Configuration
Navigate to Stores > Configuration > Hryvinskyi SEO > Robots to access the configuration.
Available Settings
-
Enabled - Enable/disable the robots meta tags functionality
-
Robots Meta Header - Configure URL pattern-based robots directives:
- Add multiple patterns with different robots settings
- Set priority for each pattern (higher priority overrides lower)
- Support for wildcards in URL patterns
-
Robots Meta Header for HTTPS - Specific robots settings for HTTPS pages
-
Set NOINDEX,NOFOLLOW for 404 page - Automatically apply NOINDEX,NOFOLLOW to 404 error pages
-
Add robots to '?p=' to paginated content - Enable custom robots for paginated content
-
Robots Meta Header for paginated content - Choose which robots directive to apply to paginated pages
-
Enable X-Robots-Tag Header - Mirror robots meta tag directives in HTTP headers
- When enabled, adds X-Robots-Tag HTTP header matching the meta tag
- When disabled, only the meta tag is used
Available Robots Directives
- INDEX, FOLLOW
- NOINDEX, FOLLOW
- INDEX, NOFOLLOW
- NOINDEX, NOFOLLOW
- INDEX, FOLLOW, NOARCHIVE
- NOINDEX, FOLLOW, NOARCHIVE
- INDEX, NOFOLLOW, NOARCHIVE
- NOINDEX, NOFOLLOW, NOARCHIVE
Components
- System Configuration (
etc/adminhtml/system.xml) - Admin panel fields - Backend Models - Data serialization and processing
- Source Models - Dropdown option providers
- Frontend Models - Custom field renderers for complex configuration
Dependencies
- Magento 2.4+
- hryvinskyi/magento2-seo-admin-ui
- hryvinskyi/magento2-seo-robots
Installation
This module is typically installed as part of the hryvinskyi/magento2-seo-robots-pack metapackage:
composer require hryvinskyi/magento2-seo-robots-pack php bin/magento module:enable Hryvinskyi_SeoRobotsAdminUi php bin/magento setup:upgrade php bin/magento cache:flush
Author
Volodymyr Hryvinskyi
- Email: volodymyr@hryvinskyi.com
License
MIT