Contact Us

Google Search Console (GSC) often shows warnings that can confuse even experienced WordPress users. One of the most common (and most misunderstood) issues is:

“Duplicate without user-selected canonical”

This message appears when Google finds multiple URLs with identical or very similar content — but you haven’t told Google which version is the main (canonical) one. This hurts rankings, dilutes link equity, and can cause major indexing issues for your site. If your site is showing incorrect canonical URLs, I’ve written a complete guide on how to fix WordPress wrong canonical URLs, which can help you correct misconfigured tags.

In this in-depth guide, you’ll learn:

  • What “Duplicate without user-selected canonical” really means

  • Why Google flags this error

  • How to find the exact duplicate URLs

  • How to fix this using Yoast, Rank Math, AIOSEO, or manually with code

  • WordPress-specific causes (URLs, pagination, tags, archives, builders, etc.)

  • Real examples + working code

  • How to prevent duplicate URLs in the future

  • SEO checklist to permanently solve canonical issues

What Does “Duplicate Without User-Selected Canonical” Mean?

This GSC message means:

Google found 2 or more URLs with the same or similar content, but you didn’t specify a canonical URL, so Google has to guess.

When Google guesses, rankings drop.

A canonical tag is a small line of HTML like:

<link rel="canonical" href="https://example.com/my-main-page/" />

This tells Google:

“This is the REAL page you should index.”
“Ignore other duplicates.”

If you don’t set this, Google:

  • May index the wrong page

  • Splits ranking power between URLs

  • May drop all versions from search

  • Shows “Duplicate without user-selected canonical” in GSC

Why Google Shows This Error (Top Causes)

Below are the most common causes in WordPress: Duplicate URLs also waste your crawl budget and slow down your site’s performance. If you want a deeper guide on improving your site overall, here are some essential WordPress optimization tips you can follow.

1. HTTP and HTTPS versions

Both URLs may exist:

2. WWW and non-WWW

Both may resolve:

3. Trailing slash vs non-slash

Google treats these as different URLs:

  • /page

  • /page/

4. Pagination duplicates

Common with themes and page builders:

  • /page/2/

  • /page/2/?ref=tag

5. Category and tag archives

These often duplicate content from posts.

6. Parameter URLs

Examples:

  • ?utm_source=facebook

  • ?replytocom=225

  • ?color=red

7. Duplicate pages created by visual builders

Elementor, Divi, WPBakery sometimes create preview pages that accidentally get indexed.

8. Printer-friendly URLs

/print/ or /amp/ duplicates.

9. WordPress attachment pages

Image attachment pages become thin duplicate pages.

10. Staging site indexed

staging.example.com
preview.example.com

How to Check Which URLs Are Duplicates

Step 1: Open the URL Inspection Tool

Search Console → URL Inspection
Enter your main URL.

You’ll see:

Duplicate without user-selected canonical

Click “Google-selected canonical” — this shows which version Google is indexing.

Step 2: Compare the two URLs

Example:

Your URL (duplicate):
https://example.com/?p=145

Google-selected canonical:
https://example.com/my-seo-post/

Now you know what needs fixing.

How to Fix “Duplicate Without User-Selected Canonical”

Below are ALL working methods depending on your setup.

1. Fix Using Yoast SEO

Yoast automatically adds canonicals, but sometimes duplicates happen. If you are using Yoast or Rank Math to manage your canonical URLs, make sure you have the correct settings enabled. I’ve compared both plugins in detail in my guide on Rank Math vs Yoast SEO — Which is Better?, which will help you understand which one handles canonicals more efficiently.

Set a Custom Canonical in Yoast

Go to any page or post → Scroll to Yoast → Advanced Tab → Canonical URL
Enter:

https://yourdomain.com/main-page/

Yoast will generate this:

<link rel="canonical" href="https://yourdomain.com/main-page/" />

Disable Unwanted Archives

Yoast → Search Appearance → Archives
Disable:

  • Author archives

  • Date archives

  • Format archives

These pages often cause duplicates.

Disable Attachment Pages

Yoast → Search Appearance → Media → Redirect media URLs → YES

2. Fix Using Rank Math

Rank Math is more flexible with canonicals.

Set Canonical in Rank Math

Edit page → Advanced tab → Canonical URL

Disable Thin Pages

Rank Math → Titles & Meta → Misc Pages
Disable:

  • Archives

  • Tags

  • Format pages

Prevent Parameter URLs from Indexing

Rank Math → General Settings → Links →
Enable:

  • Strip “?replytocom”

  • Remove category base

  • Remove stopwords

3. Fix Using AIOSEO

Go to: Page/Post → AIOSEO Settings → Canonical URL

Enter the preferred version.

4. Fix With Manual Canonical Tag (No Plugin)

Add this inside <head> of your theme:

function custom_canonical_tag() {
if (is_page()) {
echo '<link rel="canonical" href="' . get_permalink() . '" />' . "\n";
}
}
add_action('wp_head', 'custom_canonical_tag');

5. Fix Using .htaccess Redirects

If duplicates are caused by URL variations, enforce a single URL. Incorrect canonical URLs sometimes lead to broken links or missing pages. If your site is showing broken links, here’s how to fix 404 page not found errors in WordPress step by step.

Force HTTPS

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Force WWW or non-WWW (choose one)

Force non-www:

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Force trailing slash

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ https://example.com/$1/ [L,R=301]

6. Fix Duplicate URLs From UTM or Parameters

Block indexing of UTM parameters: Many of these problems happen because of basic on-page SEO issues. I’ve covered the most common ones in my guide on 10 on-page SEO mistakes WordPress users make, which can help you avoid future canonical problems.

Add to robots.txt:

Disallow: /*?utm_
Disallow: /*?fbclid=
Disallow: /*?gclid=

Then, add a canonical to the clean URL.

7. Fix Attachment Page Duplicates

Add this to functions.php:

function disable_wp_attachment_pages() {
if (is_attachment()) {
wp_redirect(get_permalink($post->post_parent), 301);
exit;
}
}
add_action('template_redirect', 'disable_wp_attachment_pages');

8. Fix Elementor/Divi Duplicate Preview Pages

Some themes index preview pages like:

/?elementor-preview=123
/?fl_builder=387

Add a canonical tag manually OR block them from indexing.

robots.txt:

Disallow: /*elementor-preview=
Disallow: /*fl_builder=

9. Fix Pagination Duplicate Issues

If pagination is causing duplicate content, add canonical to the main page:

if (is_paged()) {
echo '<link rel="canonical" href="' . get_pagenum_link(1) . '" />';
}

10. Fix Category and Tag Archive Duplicates

If category archives duplicate posts: If your site is also showing duplicate titles on category or tag archives, follow my guide on fixing duplicate category and tag titles in WordPress to correct that issue as well.

Option A: Noindex Archives (Recommended)

Yoast → Search Appearance → Taxonomies → NOINDEX
Rank Math → Titles & Meta → Taxonomies → NOINDEX

Option B: Add Canonical Manually

if (is_category()) {
echo '<link rel="canonical" href="' . get_category_link(get_query_var('cat')) . '" />';
}

How Long Until Google Removes This Error?

After fixing the issue:

  • Re-inspect URL

  • Click “Validate Fix”

Google usually clears the issue in 7–28 days, depending on crawl frequency.

How to Prevent Canonical Errors in the Future (Checklist)

Always:

  • Use 1 preferred domain (www or non-www)

  • Force HTTPS

  • Avoid duplicate pages

  • Noindex thin content

  • Disable attachment pages

  • Use canonical tags on all pages

  • Use SEO plugins properly, here is our complete SEO guide to keep you updated with latest trends and techniques.

  • Don’t let tags or categories create thousands of pages

  • Clean parameter URLs

Conclusion

“Duplicate without user-selected canonical” is not a penalty — it’s a warning that your site has conflicting URLs. Fixing it ensures:

  • Higher rankings

  • Better crawl efficiency

  • More organic traffic

  • No wasted link equity

  • Cleaner indexation

Use the steps in this guide, apply the code where needed, and your site will quickly recover better SEO visibility.

Frequently Asked Questions

1. Is “Duplicate without user-selected canonical” harmful?

Yes, because Google splits your ranking power between URLs, making all versions weaker.

2. Does this issue affect ranking?

Absolutely. Canonical errors directly impact visibility, crawl efficiency, and indexing.

3. How long does it take to fix?

Once corrected and submitted, Google typically resolves it in 1–4 weeks.

4. Does WordPress cause duplicates by default?

Yes — archives, tags, and attachment pages often create unwanted duplicates.

5. Can I fix it without a plugin?

Yes, using manual canonical tags or .htaccess redirects.

6. Should I noindex tag pages?

If tags create >20 pages, yes — they add no SEO value.

7. How do I know which URL is the preferred one?

Use GSC → URL Inspection → Google-selected canonical.

Subscribe To Our Newsletter & Get Latest Updates.

Copyright @ 2025 WPThrill.com. All Rights Reserved.