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

# WordPress Integration

> Connect and publish to your WordPress sites

# WordPress Integration

Robô SEO integrates directly with WordPress, allowing you to publish AI-generated articles with one click.

## Connecting Your WordPress Site

### Prerequisites

* WordPress 4.7 or higher (REST API support)
* Administrator access to WordPress
* Application Password enabled

### Step-by-Step Setup

<Steps>
  <Step title="Go to WordPress Integration">
    In your project, navigate to **Settings** → **WordPress Integration**
  </Step>

  <Step title="Add New Site">
    Click **Add WordPress Site** and enter your site URL
  </Step>

  <Step title="Generate Application Password">
    In WordPress Admin, go to **Users** → **Your Profile** → **Application Passwords**
    Create a new password with a name like "Robô SEO"
  </Step>

  <Step title="Enter Credentials">
    Paste your WordPress username and the generated application password
  </Step>

  <Step title="Test Connection">
    Click **Test Connection** to verify everything works
  </Step>
</Steps>

<Info>
  Application Passwords are different from your regular WordPress password. They are created specifically for API access.
</Info>

## Publishing Articles

Once connected, you can publish articles directly from Robô SEO:

1. Go to **Articles** tab in your project
2. Select articles to publish
3. Choose the target WordPress site
4. Configure publishing options:
   * **Status**: Draft, Pending Review, or Publish
   * **Category**: Select existing category
   * **Author**: Choose author (if multiple)
5. Click **Publish**

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connection Failed">
    * Verify your site URL is correct (include https\://)
    * Check if REST API is enabled
    * Ensure Application Password is correct
  </Accordion>

  <Accordion title="401 Unauthorized Error">
    * Regenerate your Application Password
    * Check if your WordPress user has publishing permissions
  </Accordion>

  <Accordion title="Images Not Uploading">
    * Check WordPress media upload permissions
    * Verify disk space on your hosting
  </Accordion>
</AccordionGroup>
