compare_page_pair
SEO, content, visual + WooCommerce comparison with actionable fixes
Overview
The core comparison engine. Give it a source WordPress page and its clone, and it performs a multi-dimensional analysis across SEO, content, and functionality. Every difference becomes an actionable fix description with severity, category, and specific instructions for what to change — including ready-to-paste code suggestions.
How It Works
- Fetches both pages with full JavaScript rendering for accurate SPA/React clone comparison.
- Compares SEO elements: title tags, meta descriptions, canonical URLs, Open Graph tags, structured data.
- Compares content: headings, body text, images, links — using both HTML and markdown similarity.
- Detects WooCommerce elements: product prices, add-to-cart buttons, galleries, variations, pagination.
- Generates fix descriptions with severity (critical/high/medium/low), category, code suggestions, and before/after values.
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
source_url |
string |
required | URL of the original WordPress page |
clone_url |
string |
required | URL of the cloned page |
include_visual |
boolean |
optional | Include visual comparison (default: true) |
What You Get Back
- Overall match score (0-100%)
- SEO match percentage with specific issues
- Content match percentage with diff details
- WooCommerce feature detection results
- Actionable fix descriptions with severity, code suggestions, and before/after values
Example Use Case
Compare a WordPress product page with its React clone. The tool finds that the clone is missing the meta description, has different heading structure, and lacks WooCommerce structured data — each returned as a fix with exact code to add.
Tips
Pages are rendered with JavaScript, so SPA/React clones are compared accurately.
The dual-layer comparison (HTML + markdown) ensures accuracy whether comparing server-rendered or client-rendered pages.
Run iteratively: make fixes, then compare again until the match score reaches your target.
Works with any framework clone — React, Next.js, Vue, Svelte, or static HTML.
