=== Rankpilot ===
Contributors: rankpilotdev
Tags: seo, ai content, content automation, auto publishing, rest api
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://rankpilot.dev/

Connect your WordPress site to Rankpilot and automatically publish generated, SEO-optimized articles on autopilot.

== Description ==

[RankPilot](https://rankpilot.dev): The #1 AI SEO Autopilot for WordPress

* *One-Click Setup* - Install the plugin, copy your API key, and you're connected.
* *Secure API* - All communication is authenticated with a unique API key.
* *Featured Images* - Automatically downloads and sets a featured image for each post.
* *Lightweight* - No bloat, no extra database tables, minimal footprint.

Quick and easy setup

Setting up Rankpilot is quick and straightforward - no technical background required.

1. Install and activate this plugin.
2. Copy your API key from Settings > Rankpilot.
3. Paste the key into your Rankpilot dashboard under Settings > Integrations > WordPress.
4. Rankpilot will automatically publish articles to your WordPress site based on your schedule.

== Installation ==

1. Install Rankpilot from the WordPress Plugin Directory, or upload the plugin ZIP from the Plugins screen.
2. Activate the plugin in WordPress.
3. Open the new Rankpilot menu in your WordPress admin sidebar.
4. Copy the WordPress URL and Rankpilot API Key shown on the settings page.
5. In your Rankpilot dashboard, open Settings > Integrations > WordPress.
6. Paste the WordPress URL and API key, then save the connection.
7. Optional: choose the default author, category, and publishing status for posts sent from Rankpilot.

== Frequently Asked Questions ==

= Do I need a Rankpilot account to use this plugin? =
Yes. This plugin is designed to connect a WordPress site to the Rankpilot platform.

= Does this plugin generate content inside WordPress? =
No. Content is created and managed in Rankpilot. This plugin handles the secure WordPress connection and publishing workflow.

= Why use this plugin instead of Application Passwords? =
Some hosting providers and web application firewalls block standard WordPress REST API requests or strip authorization headers. Rankpilot uses its own authenticated REST endpoint and API key to make the connection more reliable.

= Can I publish posts as drafts first? =
Yes. In the Rankpilot settings page, set the default status to Draft. Incoming Rankpilot posts will be saved as drafts unless Rankpilot sends a different supported status.

= Can I change the default author or category? =
Yes. The settings page lets you choose the default author and category used for posts published by Rankpilot.

= Does the plugin support featured images? =
Yes. When Rankpilot sends a supported image URL, the plugin downloads the image into the WordPress media library and sets it as the post's featured image.

= How do I disconnect Rankpilot from my site? =
Open the Rankpilot settings page and generate a new API key. The old key stops working immediately, so any saved Rankpilot connection using the previous key will be disconnected.

= What REST API routes does the plugin add? =
The plugin registers authenticated routes under `/wp-json/rankpilot/v1/`, including connection status, publishing, and post status endpoints.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added secure Rankpilot API key connection.
* Added authenticated Rankpilot REST API endpoints.
* Added post publishing with title, content, excerpt, tags, metadata, category, author, status, and featured image support.
* Added WordPress admin settings page for connection details and publishing defaults.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
