Back to Community

Resolving Common All in One SEO and WooCommerce Conflicts

20 threads Sep 10, 2025 PluginAll in one seo

Content

Many WordPress site owners use the powerful combination of All in One SEO (AIOSEO) and WooCommerce. However, updates or specific settings can sometimes lead to unexpected conflicts that break key parts of your online store. This guide covers the most common issues and their verified solutions, based on community reports and resolutions.

Common Symptoms of AIOSEO and WooCommerce Conflicts

Conflicts between these two plugins can manifest in several ways:

  • "Sorry, this product cannot be purchased" or "Product is out of stock" errors on product pages.
  • WooCommerce cart or checkout functionality breaking, especially for logged-out users.
  • Product sorting or AJAX add-to-cart features not working correctly.
  • Schema errors appearing in Google Search Console for product pages.
  • The AIOSEO meta box or product data not loading in the WordPress admin.
  • Visual display issues, like misaligned columns in product lists or broken icons.

How to Troubleshoot and Resolve These Issues

1. Disable Problematic Schema Generation

A recent AIOSEO update introduced automated shipping details schema for WooCommerce products, which can sometimes cause conflicts with product purchasing. If you are seeing purchase errors, try disabling this specific schema output.

Solution: Add the following code snippet to your child theme's functions.php file or a code snippets plugin:

add_filter( 'aioseo_schema_woocommerce_shipping_disable', '__return_true' );

2. Manage the Crawl Cleanup Feature

AIOSEO's Crawl Cleanup feature is designed to optimize your site for search engines by removing unnecessary parameters from URLs. However, this can interfere with WooCommerce functionality that relies on query parameters, such as sorting products or clearing the cart.

Solution: Navigate to All in One SEO > Search Appearance > Advanced. Locate the "Crawl Cleanup" settings and ensure the Remove Query Args toggle is set to "No."

3. Check the 'Run Shortcodes' Setting

An AIOSEO feature that processes shortcodes in content can sometimes conflict with how themes like Divi output elements on the page, particularly affecting WooCommerce cart icons and buttons.

Solution: Go to All in One SEO > Search Appearance > Advanced. Under the 'Advanced Settings' section, check if the Run Shortcodes option is enabled. If it is, disable it.

4. Disable Schema Markup Entirely (If Needed)

If you are using a different method for generating schema or are experiencing persistent schema errors, you can disable AIOSEO's schema output on specific post types.

Solution: To disable schema on all WooCommerce products, use this code snippet:

add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema_products' );
function aioseo_disable_schema_products( $disabled ) {
    if ( is_singular( 'product' ) ) {
        return true;
    }
    return $disabled;
}

5. Perform a Conflict Test

If the issue is not resolved by the steps above, a general conflict test is the best way to identify the root cause.

  1. Clear all caches: Clear your site, server, and any CDN (like Cloudflare) caches. Also clear your browser cache.
  2. Deactivate other plugins: Temporarily deactivate all plugins except for WooCommerce and AIOSEO. If the issue is resolved, reactivate your plugins one by one to identify the culprit.
  3. Switch themes: Temporarily switch to a default WordPress theme like Twenty Twenty-Four. If the problem disappears, the conflict is with your theme.

Conclusion

Conflicts between All in One SEO and WooCommerce are often resolved by adjusting a single setting or adding a small code snippet. The most common fixes involve managing the Crawl Cleanup feature or disabling new, automated schema generation for products. Always remember to clear your cache thoroughly after making any changes and test your site's functionality as a logged-out user, as many conflicts only affect visitors.

Related Support Threads Support