fervor [>]CODING & CURIOSITY
FERVOR LEARNING SYSTEMTUTORIALS
← WordPress

WordPress / 3 MIN READ

Woo License Fix for Cloned Stores

Fix WooCommerce extension licensing issues on cloned or staging stores

From the original Fervor library. Examples may use older package versions.

🛠 Fixing WooCommerce Extension Licensing on Cloned / Staging Stores

(The “Wrong Store Redirect” Bug)

This tutorial fixes a deep WooCommerce identity issue that happens when a store is cloned, spawned, or staged from another store. Symptoms usually look like this:

Installing a licensed WooCommerce extension redirects you to the wrong store

WooCommerce.com keeps authenticating the parent / production site

You can’t deactivate WooCommerce normally

Reconnecting WooCommerce.com causes errors or loops

This is not user error — it’s a duplicated store identity problem.

🔍 What’s Actually Broken

WooCommerce stores a unique site identity (GUID + OAuth tokens) that links your site to WooCommerce.com.

When a store is cloned:

That identity is copied too

WooCommerce.com thinks both sites are the same store

Licensing and installs go to the wrong place

The fix is to force the staging site to generate a new identity.

✅ What This Fix Does (and Does NOT Do) What it resets

WooCommerce.com helper identity

OAuth / licensing tokens

Marketplace sync cache

What it does NOT touch

Products

Orders

Customers

Payments

Shipping rules

Taxes

Media

URLs / SEO

Your store data remains 100% intact.

🧯 The Reliable Fix (Database Method)

⚠️ Do this ONLY on the staging / cloned site, not production.

Step 1 — Open phpMyAdmin

Log into your hosting (Liquid Web, etc.)

Open phpMyAdmin

Select the staging site’s database

Step 2 — Open the SQL tab

Click the database name (left sidebar)

Click the SQL tab at the top

Step 3 — Run this SQL (identity reset) DELETE FROM wp_options WHERE option_name IN ( ‘woocommerce_helper_data’, ‘woocommerce_admin-wc-helper-last-refresh’ ) OR option_name LIKE ‘wc_connect_%’ OR option_name LIKE ‘transient_wc%’ OR option_name LIKE ‘site_transient_wc%’;

This removes the cloned WooCommerce.com identity and cached auth data.

Step 4 — Clear rewrite rules (prevents fatal errors) DELETE FROM wp_options WHERE option_name = ‘rewrite_rules’;

Step 5 — Reload WordPress Admin

Log back into the staging WP admin

Let the dashboard fully load once

Step 6 — Reconnect WooCommerce.com

Go to:

WooCommerce → Settings → Advanced → WooCommerce.com

Click Connect.

WooCommerce will now:

Generate a brand-new site identity

Correctly associate this site with WooCommerce.com

Stop redirecting to the wrong store

✅ 3-Minute Post-Fix Checklist 1️⃣ Verify connection WooCommerce → Settings → Advanced → WooCommerce.com

Status: Connected

Correct store name shown

2️⃣ Install your licensed extension Plugins → Add New → WooCommerce.com

Extension installs without redirecting elsewhere

3️⃣ Quick health check WooCommerce → Status

No red critical errors

Database schema up to date

Action Scheduler running

4️⃣ Confirm production is unaffected

Check WooCommerce.com connection on live store

If disconnected, just reconnect (tokens were previously shared)

🧠 Why This Will Not Come Back

The duplicated helper GUID is gone

Staging now has its own permanent identity

WooCommerce.com will never confuse it with production again

You’re officially out of the WooCommerce licensing hell-loop.

Keep your curiosity going.Explore more WordPress →
287 TUTORIALS · 22 TOPICSREADY