How to Fix the “403 Forbidden” XMLRPC Error in WooCommerce Connector

How to Fix the “403 Forbidden” XMLRPC Error in WooCommerce Connector

When connecting your WooCommerce store to Odoo, you may encounter a “403 Forbidden” error. This typically indicates that the XMLRPC endpoint on your WordPress/WooCommerce instance is disabled or blocked for security reasons.

Screenshot 2024-04-11 at 16.01.14.png

Why This Happens

The XMLRPC endpoint (xmlrpc.php) is part of WordPress and is often disabled by hosting providers or security plugins to prevent unauthorized access. However, our connector uses XMLRPC specifically for translation synchronization.

Choosing the Right XMLRPC Setup

The solution depends on whether you use translations and where you want to manage them (in Odoo or WooCommerce).

  1. If you use only one language (or do not need translation synchronization)
    In the Authentication wizard, disable the “Use XMLRPC Endpoint” option.

Screenshot 2026-03-23 at 12.57.04.png

What this means:

  • All core connector features will continue to work normally.

  • Only translation synchronization will be limited.

  1. If you are using WPML (WordPress Multilingual Plugin) and want to synchronize translations between Odoo and WooCommerce XMLRPC must remain enabled:

    • On your WooCommerce server

    • In the wizard settings

How to Check if XMLRPC Is Enabled

Follow these quick steps:

  1. Open your browser and go to:

    https://<YourStoreURL>/xmlrpc.php
  2. Expected result:

    • The server should respond (even with a simple message)

    • ❌ It should NOT show:

      • “403 Forbidden”

      • “Not Found”

  3. Additional checks:

    • Ensure no plugins are blocking XMLRPC (e.g., “Disable XMLRPC” or similar)

    • Verify your hosting provider hasn’t disabled it

Server Configuration Check (.htaccess)

Sometimes XMLRPC is blocked via .htaccess. Look for rules like this in your WooCommerce root directory:

# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
allow from xxx.xxx.xxx.xxx
</Files>

What to do:

  • Replace xxx.xxx.xxx.xxx with your Odoo server IP address, OR

  • Remove this block entirely if not needed

Still have issues with your WooCommerce connector?

Don’t hesitate to reach out. Our support team is here to help! We can answer your questions, provide guidance, or even schedule a meeting to show you how our connector works.

Contact us: https://support.ventor.tech/

Related Posts