> ## Documentation Index
> Fetch the complete documentation index at: https://faii.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing to WordPress

> How FAII connects to your WordPress site and publishes content - from one-click publishing to draft mode and scheduled posts.

<Info>
  **Quick Answer:** FAII connects to your WordPress site via a plugin and API key. Generated content can be auto-published immediately, saved as a draft for review, or scheduled for a future date.
</Info>

## What You'll Learn

* How the WordPress connection works
* Publishing options (auto-publish, draft, scheduled)
* How to configure publishing defaults
* Managing published content

## Connection Architecture

```
FAII Dashboard → API → WordPress Plugin → Your Site
```

The connection uses:

* Secure API communication (HTTPS)
* WordPress REST API under the hood
* Your FAII API key for authentication
* No direct database access needed

## Publishing Options

### Auto-Publish

Content goes live immediately when generated.

| Aspect       | Details                                      |
| ------------ | -------------------------------------------- |
| **Speed**    | Live within seconds of generation completing |
| **Review**   | None - publishes immediately                 |
| **Status**   | Published (visible to public)                |
| **Best for** | High confidence in content quality           |

### Draft Mode

Content saves as a WordPress draft for your review.

| Aspect       | Details                                   |
| ------------ | ----------------------------------------- |
| **Speed**    | Available in drafts immediately           |
| **Review**   | Full editing capability before publishing |
| **Status**   | Draft (not visible to public)             |
| **Best for** | Teams that want editorial review          |

### Scheduled

Content queued for a specific future date/time.

| Aspect       | Details                                     |
| ------------ | ------------------------------------------- |
| **Speed**    | Publishes at your chosen date/time          |
| **Review**   | Can edit before scheduled publish time      |
| **Status**   | Scheduled (publishes automatically)         |
| **Best for** | Content calendars and consistent publishing |

<Tip>
  Start with **Draft Mode** until you've reviewed a few articles and are comfortable with the quality. Switch to Auto-Publish once confident.
</Tip>

## Configuration

### Default settings

In your FAII dashboard, configure publishing defaults:

| Setting              | Options                  | Default       |
| -------------------- | ------------------------ | ------------- |
| **Publish mode**     | Auto / Draft / Scheduled | Draft         |
| **Default category** | Any WP category          | Uncategorized |
| **Default author**   | Any WP user              | Site admin    |
| **Featured image**   | Auto-generate / None     | None          |
| **Post format**      | Standard / Custom        | Standard      |

### Per-article overrides

When generating content, you can override defaults:

* Change publish mode for this article only
* Select a different category
* Choose a different author
* Set a specific schedule date

## WordPress Setup

### Category mapping

Map content types to WordPress categories:

| Content Type  | Suggested Category    |
| ------------- | --------------------- |
| How-To Guides | Guides / Tutorials    |
| Comparisons   | Reviews / Comparisons |
| Listicles     | Resources / Best-of   |
| FAQ Articles  | FAQ / Help            |
| Deep Dives    | Industry Insights     |
| News/Updates  | News / Updates        |

### Author assignment

Assign a WordPress user as the author:

* Use a real team member for credibility
* Create a dedicated "content" author if preferred
* Author appears on the published post and in schema markup

### Post formatting

FAII content is delivered as:

* Clean HTML (proper heading tags, paragraphs, lists)
* Compatible with WordPress block editor (Gutenberg)
* Compatible with Classic Editor
* Preserves all formatting and structure

## Managing Published Content

### In WordPress

After publishing, content appears in your standard Posts list:

* Edit like any other post
* Add images, video, or other media
* Modify categories and tags
* Change publish date
* Update or unpublish

### In FAII Dashboard

Track published content status:

| Status        | Meaning                             |
| ------------- | ----------------------------------- |
| **Generated** | Content created, not yet published  |
| **Published** | Live on your WordPress site         |
| **Draft**     | Saved as draft in WordPress         |
| **Scheduled** | Queued for future publish           |
| **Failed**    | Publishing error (check connection) |

### Performance tracking

FAII tracks content performance after publishing:

* Did it get indexed by Google?
* Did AI bots visit the page?
* Did your mention rate improve for the targeted keyword?
* Did organic rankings change?

## Multi-Site Publishing

### Professional plan (3 sites)

Route content to different sites based on:

* Topic/category
* Campaign assignment
* Manual selection per article

### Enterprise plan (unlimited sites)

Full multi-site management:

* Different brands on different domains
* Client sites for agencies
* Regional sites for international brands
* Topic-specific microsites

## Troubleshooting

### "Publishing failed" error

1. Check your API key is still valid in WordPress plugin settings
2. Verify the plugin is active (not deactivated)
3. Check your WordPress site is accessible (not in maintenance mode)
4. Ensure the assigned author and category still exist in WordPress

### Content formatting issues

1. Check your WordPress theme's CSS (some themes override heading styles)
2. Verify the block editor is not modifying the HTML
3. Check for plugin conflicts that modify post content

### Duplicate content

FAII checks for duplicates before publishing:

* Same title as existing post → Warning
* Similar content to existing post → Warning
* Exact duplicate → Blocked

## Tips

* **Use categories strategically** - Proper categorization helps both SEO and site organization
* **Add images after publishing** - FAII provides image recommendations; add actual images in WordPress
* **Monitor indexing speed** - Use Google Search Console to track how quickly new content gets indexed
* **Don't change URLs** - The generated URL slug is SEO-optimized; changing it can reduce effectiveness

## Related Articles

<CardGroup cols={2}>
  <Card title="Scheduling Content" icon="calendar" href="/docs/content-automation/scheduling-content">
    Content calendar management
  </Card>

  <Card title="Measuring Impact" icon="chart-line" href="/docs/content-automation/measuring-impact">
    Track content performance
  </Card>
</CardGroup>
