Limited Offer
Launch Sale: Save 25% on all plans with code LAUNCH25
--Hours
--Minutes
--Seconds
AI Snippet SEO Helper Documentation
Send perfectly-optimised snippets from RankPilotAI straight into Rank Math with one click.
Contents
1. Overview
AI Snippet SEO Helper is a lightweight WordPress add-on that bridges RankPilotAI and Rank Math. It sends the current post/page context to RankPilotAI, receives an optimised snippet and writes it directly into Rank Math fields — without leaving the editor.
Writes into Rank Math only: Focus Keyword, SEO Title, Meta Description and (optionally) the post Slug.
2. Key Features
| Feature | Details |
|---|---|
| One-click generation | Side metabox button on all public post types; fills Rank Math fields instantly. |
| Bulk actions | Generate for many posts via WordPress Bulk Actions (live progress + Cancel). |
| Token-aware | Built-in Token Guard prevents runs when balance is 0 or below model cost. |
| Model selection | Choose GPT-4 Turbo, GPT-4.1 or GPT-4o (availability depends on plan). |
| Custom prompt | Append brand tone/extra rules globally to every request. |
| Auto-slug | Optional — overwrite the slug with the AI suggestion. WordPress keeps _wp_old_slug for a 301. |
| Score | Stores a private _aish_score (0–100) per post based on six SEO checks. |
2.1 Token Cost per Model
| Model | Tokens / Snippet |
|---|---|
| 🟢 GPT-4 Turbo | 1 |
| 🔵 GPT-4.1 | 3 |
| 🟣 GPT-4o | 5 |
3. Requirements
- WordPress 5.8 or higher
- Rank Math SEO (Free or Pro)
- PHP 7.4+
- An active RankPilotAI account + Site Key
4. Installation & Activation
- Upload the ZIP via Plugins → Add New → Upload (or extract to
/wp-content/plugins/). - Activate AI Snippet SEO Helper.
- Go to Settings → AI Snippet SEO Helper and paste your Site Key.
5. Getting Started
5.1 Generate a Site Key
- Log in to your RankPilotAI dashboard.
- Open Account → Site Key Management.
- Enter your site’s main domain (e.g.
example.com) and click Generate Key. - Copy the token (
rp_xxxxxxxxxxxxxxxxx).
5.2 Save the Key in WordPress
- Go to Settings → AI Snippet SEO Helper → Site Key Management.
- Paste your token and click Save Site Key. Usage, limit and remaining tokens will appear.
5.3 Configure SEO Settings (optional)
- Model Choice — GPT-4 Turbo / 4.1 / 4o (plan-aware).
- Custom Prompt — global text appended to each request.
- Auto-Slug — when enabled, the AI slug replaces the current one; WordPress adds a 301 redirect automatically.
6. Day-to-Day Usage
6.1 Single Post / Page
- Open a post/page.
- In the AI Snippet SEO Helper metabox, click Generate with AI Snippet SEO Helper.
- Focus Keyword, SEO Title, Meta Description (and optionally Slug) fill in. Review and update.
6.2 Bulk Generation
- Go to any public post-type list (e.g. Posts).
- Select items → Bulk Actions → Generate with AI Snippet SEO Helper → Apply.
- A live progress box shows processed / success / failed. You can Cancel mid-run.
6.3 How the Score is Calculated
- Keyword present in Title, Description and Slug (3 checks)
- Title length 30–60 chars
- Description length 120–160 chars
- Slug length ≤ 75 chars
Final score = min(100, checks passed × 17). Stored in _aish_score (private meta).
7. Admin Panel Reference
7.1 Site Key Management Tab
| Field | Description |
|---|---|
| Site Key | Your rp_… token. Required for API calls. |
| Usage Overview | Global usage, plan limit, remaining tokens and CTA to upgrade/buy tokens. |
7.2 SEO Snippet Settings Tab
| Option | Description |
|---|---|
| GPT Model | Turbo (all plans), 4.1 (Starter+), 4o (Creator+). Unavailable models appear greyed-out. |
| Custom Prompt | Additional instructions appended to every request. |
| Auto-update Slug | When ON, the suggested slug replaces the current one. WordPress preserves _wp_old_slug for a 301. |
8. Plans, Tokens & Limits
| Plan | Monthly Tokens | Site Keys | Models |
|---|---|---|---|
| Free | 25 | 1 | GPT-4 Turbo |
| Starter | 100 | 1 | GPT-4 Turbo / 4.1 |
| Creator | 400 | 5 | GPT-4 Turbo / 4.1 / 4o |
| Expert | 1,200 | 25 | GPT-4 Turbo / 4.1 / 4o |
Need extra tokens? Purchase a Token Pack (100 – 5,000 lifetime tokens) from your RankPilotAI dashboard and assign it to AI Snippet SEO Helper.
9. Troubleshooting
| Symptom / Message | Cause | Fix |
|---|---|---|
| “No Site Key configured” | Site Key missing | Go to Settings → AI Snippet SEO Helper → Site Key and save your token. |
| “No tokens left. Please upgrade.” | Balance is 0 | Buy tokens or upgrade your plan (see Usage card links). |
| “Not enough tokens for the selected model” | Balance < model cost | Switch to a cheaper model (GPT-4 Turbo) or buy tokens. |
| AJAX 403 / bad nonce | Expired editor session | Refresh the page and retry. |
| Button not visible in editor | Rank Math inactive or editing unsupported type | Activate Rank Math and ensure you’re editing a public post type. |
Permissions: You must be able to edit_post for single runs and edit_posts for bulk; settings require manage_options.
10. Frequently Asked Questions
Does it support Yoast SEO?
Not at this time. The helper integrates directly with Rank Math hooks.
Will bulk generation overwrite existing Rank Math fields?
Yes. Title, Description and (if enabled) Slug are replaced with AI results. Back up if needed.
Where can I see the SEO score?
It’s stored in
_aish_score as post meta. Surface it in reports with get_post_meta() if you wish.11. Developer Hooks & Filters
| Hook | Type | Purpose |
|---|---|---|
wp_ajax_aish_generate_single | AJAX action | Single-post generation endpoint. |
wp_ajax_aish_bulk_tick / wp_ajax_aish_bulk_cancel | AJAX actions | Bulk job tick & cancel endpoints. |
aish/snippet_payload | Filter | Modify outgoing payload before calling the API. |
aish/snippet_response | Filter | Inspect/alter the API response before fields are applied. |
aish_http_args, aish_http_retry_codes, aish_http_retries, aish_http_result | Filters | Customize HTTP args, retry strategy and inspect results. |
aish_calc_score() | Function | Compute score array {score, color} from (keyword, title, desc, slug). |
/* Example: add a brand suffix to titles only */
add_filter('aish/snippet_response', function($res){
if (!empty($res['title'])) {
$res['title'] .= ' | Acme®';
}
return $res;
}, 10, 1);
/* Example: inject extra context into outgoing payload */
add_filter('aish/snippet_payload', function($payload, $token){
$payload['brand_terms'] = ['Acme','UltraLight™'];
return $payload;
}, 10, 2);
12. Support
Docs & FAQs: rankpilotai.com/docs
Email: [email protected]
Slack: #rankpilotai-support
Need a hand? Ping us — we’re happy to help you ship better on-page SEO, faster.