š§ Boost Your Geeklog SEO with AI-Generated Meta Tags
- Tuesday, October 28 2025 @ 10:41 pm EDT
- Contributed by: ::Ben
- Views: 679
Automatically create meta descriptions, keywords, and SEO titles for your articles
In modern SEO, small details often make a big difference. Meta tags such asĀ meta_description,Ā meta_keywords, andĀ page_titleĀ still play an essential role in how your content is displayed and understood by search engines. They directly influence how your stories appear in results, and therefore how often users click them.
Iāve recently built a simple, lightweight utility that helps Geeklog site administrators automatically generate these fields usingĀ OpenAIās API. It works with anyĀ Geeklog 2.xĀ site and doesnāt require additional plugins or modifications.
āļø Simple, fast, and content-friendly automation
TheĀ Geeklog AI SEO UpdaterĀ connects directly to the Geeklog database and detects any stories missing aĀ meta_description. For each one, it uses theĀ gpt-4o-miniĀ model to analyze the articleās title and introduction, then generates:
- a short optimized meta description (⤠155 characters),
- aĀ list of relevant meta keywordsĀ (5ā10 per story),
- and a SEO-friendly page title (⤠65 characters).
The script automatically detects the language of your site fromĀ $_CONF['language']Ā ā it works in French, English, German, Spanish, Italian, and Japanese. You can test results safely inĀ preview modeĀ (?dry=1) or apply them inĀ update modeĀ with a defined article limit.
š Why meta tags still matter
While modern search engines rely on full-page analysis,Ā meta descriptionsĀ remain key to how your site looks in results. They act as your articleās āheadlineā on Google or Bing and have a strong effect on click-through rate.
Meta keywords, even though no longer used by Google for ranking, remain valuable inside Geeklog. They can be used for internal linking or automated features such as:
- aĀ related stories systemĀ that connects articles with similar topics,
- aĀ tag cloudĀ for quick exploration,
- or aĀ contextual search moduleĀ based on shared keywords.
š” For example, another script could automatically link stories that share two or more identical keywords, creating a stronger internal SEO structure.
š Benefits for site administrators
- Save hours updating metadata across hundreds of stories.
- Keep consistent SEO formatting site-wide.
- Improve visibility and click performance in search results.
- Optionally notify Bing through theĀ IndexNowĀ plugin after each update.
The script only updates stories withĀ empty meta descriptionsĀ and checks that you have the properĀ story.editĀ admin rightsĀ before execution.
š§© Example usage
# Preview mode (no database update)
https://yourdomain.com/admin/utils/update_meta.php?dry=1
# Update 10 stories
https://yourdomain.com/admin/utils/update_meta.php?limit=10
You can also schedule it as aĀ weekly cron jobĀ to automatically optimize metadata for newly published stories.
š” A foundation for smarter features
This script lays the groundwork for more semantic features inside Geeklog. The generated keywords can later feed new modules such as:
- AI-related storiesĀ based on keyword similarity,
- smart internal linking or tag clusters,
- or even advanced search filtering.
By combining Geeklogās simplicity with AI-assisted metadata, content becomes easier to navigate and better structured for both users and search engines.
š¦ Availability
The full documented code is available on the Geeklog Community Forum: šĀ https://www.geeklog.net/forum/index.php?forum=10
It supports PHP 5.6 +, Geeklog 2.x, and optionally integrates with theĀ IndexNowĀ plugin to notify Bing. Every line of the shared version is commented for easy understanding and adaptation.
š§ Final thoughts
With this AI-powered updater, Geeklog proves it can stay modern and efficient without losing its core simplicity. This approach helps keep older content relevant, visible, and better connected ā with minimal effort and full control from the admin panel.
š§© Author:Ā Ben, Geeklog community contributor Discuss and download on the forum:Ā https://www.geeklog.net/forum/index.php?forum=10