How to stop duplicating only SEO Meta tags when duplicating product in Magento 2. Can someone guide me how to get it?
If you go to your admin panel and navigate to
Admin Store -> Configuration -> Catalog > Search Engine Optimization
In the Search Engine Optimisation tab, you can find the following two entries:
Use Canonical Link Meta Tag For Categories
Use Canonical Link Meta Tag For Products
This will not delete the redundant pages but will add the same canonical links in the head of your HTML files
Now when google indexes your site, it will probably still see both links, but since you added a canonical link to it, Google will now know that both links are the same page.