=== Moonrank Integration === Contributors: moonrankai Tags: seo, content, automation, publishing, moonrank Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Connects your WordPress site to Moonrank for automated SEO article publishing. == Description == Moonrank Integration connects your WordPress site to [Moonrank](https://www.moonrank.ai), enabling automated publishing of AI-generated SEO articles directly to your blog. **Features:** * Secure webhook endpoint for receiving articles from Moonrank * Automatic post creation with title, content, slug, excerpt, and featured image * SEO meta field support for Yoast SEO and RankMath (with fallback for other setups) * Category and tag auto-creation and assignment * Article update and delete support * Rate limiting to prevent abuse * bcrypt-hashed API keys (plaintext key never stored) **How it works:** 1. Install and activate this plugin 2. Go to Settings > Moonrank to generate your integration key 3. Copy the webhook URL and key into your Moonrank dashboard 4. Articles published in Moonrank will automatically appear in WordPress == Installation == 1. Upload the `moonrank-integration` folder to `/wp-content/plugins/` 2. Activate the plugin through the Plugins menu 3. Navigate to Settings > Moonrank 4. Click "Generate Key" to create your integration key 5. Copy the webhook URL and integration key to your Moonrank dashboard == Frequently Asked Questions == = Do I need a Moonrank account? = Yes. Visit [moonrank.ai](https://www.moonrank.ai) to sign up for an account. = Is the integration secure? = Yes. Integration keys are bcrypt-hashed before storage - the plaintext key is never saved. All communication uses HTTPS. Rate limiting prevents abuse. = Does it work with Yoast SEO or RankMath? = Yes. The plugin automatically detects Yoast SEO and RankMath and sets the appropriate meta fields (meta description, meta title, focus keyword). = What happens if I regenerate the key? = The old key is immediately invalidated. You will need to update the key in your Moonrank dashboard. = My security plugin is blocking requests = If you use Wordfence, Sucuri, or similar security plugins, you may need to whitelist the `/wp-json/moonrank/v1/article` endpoint. == Privacy == This plugin registers a REST API webhook endpoint on your WordPress site. It receives data from the Moonrank platform when you publish articles. When articles include a featured image URL, the plugin downloads that image to your WordPress media library using WordPress core functions. No other data is sent to external servers. The plugin does not collect analytics or set tracking cookies. == Changelog == = 1.0.0 = * Initial release * Secure webhook endpoint with bcrypt key hashing * Post create, update, and delete via webhook * Yoast SEO and RankMath meta field support * Category and tag management * Featured image sideloading with alt text * Rate limiting (60 requests/minute) * Admin settings page with one-time key display