How to get rid of duplicate content?
Here are the three ways I recommend.
The rel=canonical tag. In most cases, the rel=canonical tag is the best way to transfer SEO juice from a duplicate page to another page. ...
301 redirect. Sometimes, you don't want the duplicate of your web page to stick around. ...
Set passive parameters in Google Search Console.