To fix the Duplicate without user-selected canonical status in Google Search Console, you can use one of two methods:
1. 301 redirects
This method is the preferred method by Google. To use 301 redirects, you will need to redirect all of the duplicate pages to the preferred page. You can do this by adding a 301 redirect code to the header of the duplicate pages.
2. Canonical tags
To use canonical tags, you will need to add a canonical tag to the head of each duplicate page. The canonical tag will tell Google which page is the preferred version of the page.
Here are the steps on how to use each method:
Using 301 redirects
And you want to redirect https://example.com/page2.html to https://example.com/page1.html, you would add the following code to the header of https://example.com/page2.html:
HTTP/1.1 301 Moved Permanently
Using canonical tags
And you want to tell Google that https://example.com/page1.html is the preferred version of the page, you would add the following code to the head of https://example.com/page2.html:
link rel=canonical href=https://example.com/page1.html /
Once you have implemented either of these methods, you need to wait for Google to crawl and index your pages again. This can take a few days. Once Google has indexed your pages again, the Duplicate without user-selected canonical status should be removed from Google Search Console.
If you have a large number of duplicate pages, you can use a tool like Screaming Frog SEO Spider or Sitebulb to help you identify and fix the duplicate pages.