SEO Compare URLs Agent

Agent: SEO Compare URLs

SEO Compare URLs Agent

The SEO Compare URLs Agent compares the SEO characteristics of two external URLs and generates a
structured improvement report focused on the second URL.

It fetches both pages, analyzes their content, and provides actionable recommendations.

What This Agent Does

  • Fetches content from URL 1
  • Fetches content from URL 2
  • Compares structure, headings, keywords, length, and overall optimization signals
  • Generates SEO recommendations for improving URL 2
  • Supports customizable prompt instructions
  • Supports model selection and timeout control
  • Can run instantly or via WP-Cron queue

Required Fields

Before the task can start, the following must be configured:

  • External URL 1
  • External URL 2
  • Model
Note: If any required field is missing or invalid, the task will not start and a validation message will be shown.

Prompt Customization

The agent uses a single editable prompt field. By default, the prompt is:

Given url1 {{external_url1}} and Given url2 {{external_url2}}
Compare their SEO and give recommendations how to improve SEO of url2.

You may fully customize this text. Supported placeholders:

  • {{external_url1}}
  • {{external_url2}}

These placeholders are automatically replaced with the actual URLs before the request is sent to the AI model.
You can click “Switch to default” to restore the original prompt at any time.

How It Works (Technical Overview)

The agent follows a step-based workflow:

  1. fetch_url1
  2. fetch_url2
  3. compare_seo

The final prompt sent to the model consists of:

  • Your configured prompt (after placeholder substitution)
  • The full extracted content of URL 1
  • The full extracted content of URL 2
Note: If the combined character count exceeds the selected model’s safe limit, the task will stop and display a message
asking you to reduce content or choose another model.

Model Selection

You can select the AI model used for analysis. Different models support different context sizes.
If you are comparing long pages, choose a model with a higher context limit.

Queue Mode

You may enable “Put automatically into Cron queue”.

  • When enabled, the task runs through the background task processor (WP-Cron).
  • When disabled, the task can be executed manually.

Validation Rules

The agent validates:

  • Both URLs must be provided
  • Both URLs must be valid URLs
  • A model must be selected

If validation fails, the task will not proceed.

Typical Use Cases

  • Compare your landing page with a competitor
  • Analyze SEO differences between two versions of a page
  • Benchmark content structure against high-ranking pages
  • Generate improvement roadmap for URL 2

Notes

  • The agent analyzes extracted page content only.
  • Dynamic or JavaScript-rendered content may not always be captured.
  • Very large pages may exceed model limits depending on model selection.
Scroll to Top