Review Canonical URLs with Query Strings

Metadata Analyzer

What is this warning?

Your canonical URL contains a query string (e.g., `?id=123`). While this is sometimes intentional (for example, on a paginated page), it's often a mistake. A canonical URL should typically point to the cleanest, simplest version of the URL, without any extra parameters. It's worth checking to make sure this is what you intended.

How to Fix This Issue

How to Fix It

The Problem

<link rel="canonical" href="https://example.com/products?sort=price">

The Solution

If the parameters do not change the core content of the page, the canonical URL should point to the version without the query string.

<link rel="canonical" href="https://example.com/products">

Why This Works

Using a clean canonical URL helps to consolidate ranking signals effectively and prevents search engines from indexing multiple versions of the same page.

SEO Impact

This issue can affect your site's search engine rankings and user experience. Addressing it promptly helps ensure optimal performance and visibility in search results.

Automatic Detection

Black SEO Analyzer automatically checks for this warning during site analysis, along with hundreds of other technical SEO issues.

Ready to Unlock Your Site's Full SEO Potential?

Choose the license that fits your needs and start getting the deep, actionable insights you deserve.