| 开发者 | rankzoro |
|---|---|
| 更新时间 | 2026年11月11日 17:03 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
rankzoro folder to the /wp-content/plugins/ directory, OR install via WordPress Admin → Plugins → Upload Plugin.Local administration actions require WordPress capabilities and nonces. Remote site operations require an authenticated connection key. Read-only pairing does not enable publishing; writing requires separate permission. Keys are stored in your WordPress options, so keep your site and database access protected. You can disconnect or regenerate the connection key from the plugin settings page.
Yoast SEO, RankMath, and SEOPress. The plugin auto-detects which is active and reads/writes the correct meta keys for each. If none are installed, standard WordPress fields are used.
Register a webhook URL via POST /webhooks. WordPress then fires an instant HTTP POST to that URL whenever a post is published, updated, or deleted — so RankZoro never needs to poll for changes. Webhooks can be listed (GET /webhooks) and removed (DELETE /webhooks/{id}) via API or from the admin settings page.
Daily reporting is off by default. An administrator can enable it in the Content Decay Monitor. When enabled, a daily WP-Cron callback reports metadata for up to 100 published posts older than the configured update threshold (default: 90 days). You can also request a one-time report with "Run Scan Now". See External Services and Privacy for the fields sent to RankZoro.
Article, FAQPage, HowTo, WebPage, BlogPosting, Product, BreadcrumbList, LocalBusiness, Person, Organization, Event. The JSON-LD block is output in <head> automatically on the post's singular page.
All endpoints are under /wp-json/rankzoro/v1/:
Info
GET /status — health check, plugin version, plan, SEO plugin, webhook countGET /site-info — site name, WP/PHP version, active theme, all active plugins, post counts, timezone, decay settings
Posts
GET /posts — list posts (params: type, status, per_page, page, search, category, tag, author, orderby, order)
POST /posts — create a post (title, content, excerpt, status, type, date, slug, author, categories, tags, featured_image_url, meta_title, meta_description, focus_keyword, canonical)GET /posts/{id} — get single post with full content + schemaPUT|PATCH /posts/{id} — update postDELETE /posts/{id} — delete post (?force=true for permanent)POST /posts/{id}/apply-links — inject internal links into contentPOST /posts/{id}/apply-fix — single SEO fix (types: title, content, slug, excerpt, status, meta_title, meta_description, focus_keyword, canonical)POST /posts/{id}/bulk-fix — multiple fixes: {"fixes":[{"type":"meta_title","value":"..."},{"type":"focus_keyword","value":"..."}]}POST /posts/{id}/apply-schema — inject JSON-LD schema: {"schema":{"@type":"FAQPage","mainEntity":[...]}} | {"action":"delete"} to removeGET /posts/{id}/backlinks — find all published posts on this site that link to this post
Taxonomy & Structure
GET /pages — list published pages
GET /categories — list all categoriesGET /tags — list all post tagsGET /authors — list authors (admin, editor, author, contributor) with avatar URLs and post countsGET /post-types — list all public registered post types with label, singular, supports, and published count
Media
POST /media — upload media from URL to WP media library: {"url":"...","filename":"..."}
Webhooks
GET /webhooks — list registered webhooks
POST /webhooks — register: {"url":"https://...","events":["post.published","post.updated","post.deleted"]}DELETE /webhooks/{id} — remove a webhookYes. Click Regenerate API Key on the plugin settings page and update the key in RankZoro's CMS Connections.
POST /posts/{id}/apply-schema — inject JSON-LD structured data (Article, FAQPage, HowTo, Product, etc.) into any post; outputs via wp_head on singular pagesGET /posts/{id}/backlinks — searches post_content across all published posts to find internal backlinks to a given URLGET /authors — lists authors (admin/editor/author/contributor) with display name, avatar URL, post countGET /post-types — lists all registered public CPTs with label, singular, hierarchical, supports, and published countGET /webhooks, POST /webhooks, DELETE /webhooks/{id} — register URLs to receive instant POST notifications on post.published, post.updated, post.deleted eventsGET /posts to accept any public registered post type via type param (not just post/page)POST /posts to accept any public registered post typehas_schema and schema_type fields to all post list/get responsesschema object to GET /posts/{id} response when schema is setwebhooks_count and decay_days/decay_last_run fields to /status response