AI SEO Meta Generator
Generate SEO-optimized titles and meta descriptions for every post and page using Google Gemini AI. Reads your actual content to generate relevant meta — not generic filler.
by Vaibhav Kumar · github.com/vaibhavkumar-wpdev/wp-ai-seo-meta · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/vaibhavkumar-wpdev/wp-ai-seo-meta/archive/refs/heads/main.zipAI SEO Meta Generator for WordPress
Generate SEO-optimized titles and meta descriptions for every post and page using Google Gemini AI. The plugin reads your actual content — not just the title — to generate relevant, specific meta that improves click-through rates.
Features
- Reads post title AND content to generate relevant meta (not generic filler)
- Optional focus keyword for targeted optimization
- Character counter with color coding: green = SEO-optimal length
- Live Google search preview — see how your result looks before publishing
- Inserts directly into Yoast SEO, RankMath, and AIOSEO fields with one click
- Falls back to custom
<meta>tags if no SEO plugin is installed - Saves to post meta on every post save
- Gemini model switching and usage tracking
- Free to run on Gemini 2.0 Flash Lite (1,500 requests/day)
Character Targets
| Field | Target | Too long |
|---|---|---|
| SEO Title | 50–60 characters | Over 60 |
| Meta Description | 150–160 characters | Over 160 |
The character counter shows:
- 🔴 Red — over the limit
- 🟢 Green — SEO-optimal range
- 🟡 Yellow — under the optimal range
SEO Plugin Compatibility
| Plugin | Insert Support |
|---|---|
| Yoast SEO | ✅ Direct field insertion |
| RankMath | ✅ Direct field insertion |
| All in One SEO | ✅ Direct field insertion |
| SEOPress | Detected — manual paste recommended |
| No SEO plugin | Auto-outputs <meta> tags in <head> |
Installation
- Download the ZIP
- WordPress Admin → Plugins → Add New → Upload Plugin → Activate
- Go to Settings → AI SEO Meta Generator
- Paste your Gemini API key → Save
- Open any post → find the 🔍 AI SEO Meta Generator box below the editor
How to Use
- Write your post as normal
- Add a focus keyword (optional but improves results)
- Click ✨ Generate SEO Title & Meta Description
- Review generated content — check character counters are green
- Edit directly in the fields if needed
- Click Insert into SEO Plugin to push to Yoast/RankMath/AIOSEO
- Click Save to Post Meta to persist changes
Getting a Free API Key
- Go to aistudio.google.com
- Sign in with Google → Create API key
- Paste into plugin settings
Free tier: 1,500 requests/day. No credit card.
Requirements
- WordPress 5.8+
- PHP 7.4+
- Google Gemini API key (free)
This Plugin as a Service
This demonstrates the kind of SEO and AI integrations I build for WordPress clients:
- AI-generated SEO meta for large content sites
- Automated meta description generation for WooCommerce products
- Custom SEO workflows integrated into WordPress admin
- Yoast/RankMath customization and extension
Need a custom AI/SEO integration? Contact me on Upwork
Author
Vaibhav Kumar — WordPress & AI Integration Developer Top Rated | 97% JSS | 3,100+ Hours
- Upwork: https://www.upwork.com/freelancers/vaibhavkumar
- GitHub: https://github.com/vaibhavkumar-WPDEV
Related Plugins
License
GPL v2 or later
Changelog
1.0.0
- Initial release
- Content-aware meta generation (reads post content)
- Focus keyword support
- Character counters with color coding
- Live Google preview
- Yoast, RankMath, AIOSEO compatibility
- Frontend meta output fallback
- Usage dashboard