
Plugin Description: Meta Injector
Meta Injector is a "System" plugin for Joomla that enhances the control over the "robots" meta tags of your site's pages. This plugin ensures better indexing by search engines and optimizes image previews for improved visibility.
What This Plugin Does:
-
Automatically adds the
max-image-preview:large
directive to the "robots" meta tag: -
Checks for the existence of an existing "robots" tag:
-
Automatically creates a "robots" meta tag if none exists:
Benefits:
- SEO-Friendly: Improves the visibility of site images in search engines (Google, Bing, Yahoo, Yandex), driving clicks and engagement.
- Seamless Configuration: Works automatically without requiring additional setup.
- Respects Existing Settings: Preserves manually configured or plugin-added directives, ensuring compatibility.
How It Works:
- The plugin activates on all Joomla pages before the head
section is rendered (
onBeforeCompileHead
). - It ensures only HTML documents are affected.
- Depending on the current configuration, it updates or adds the "robots" meta tag.
Compatibility:
- Joomla Version: Compatible with Joomla 4 and 5, or other formats.