3/5/24

Duplicate Without User Selected Canonical Error fix in WordPress.

Duplicate Without User Selected Canonical.

How to Fix Duplicate Without User Selected Canonical.Blogger & WordPress Error 

The Duplicate Without User Selected Canonical Error indicates that your website has duplicate content but you haven't specified which page is the preferred version for search engines to index. This can affect your website's SEO performance.

Here are two common ways to fix this error:

1. Using Canonical Tags.:


Identify the preferred version of the page. This is the page you want search engines to index.
Add a <link> element with the attribute rel (canonical) to the <head> section of all the duplicate pages. The value of the href attribute should be the URL of the preferred version.
Add a self-referencing canonical tag to the preferred page itself. This means the href attribute value should be the URL of the page itself.
For example.
if you have two duplicate pages page1.html and page2.html and you want page1.html to be the preferred version you would add the following code to the <head> section of page2. html

2. Using Canonical Code Tags:

Use Method Code 1

<link rel="canonical" href="https://www.yourwebsite.com/page1.html">

Use Method Code 2

Last head close tag </head> upar Code peste.

<script> (function() { var url = window.location.href;if (url.indexOf('?m=1') !== -1) {url = url.replace('?m=1', ''); window.history.pushState(null,null,url);} })(); </script>

100% Problem Solve After 3 / 4 day 

 How to Fix Duplicate Without User Selected Canonical.Blogger & WordPress Error 



Previous Post
Next Post

post written by:

0 Comments: