In Magento 2 you can enable canonical URLs for products and categories. Setting canonical URLs is a way to direct search engines to a single canonical URL for indexing thus avoiding duplicate content.


Magento search for sites running on magento 2


  1. Login to your magento 2 admin panel.
  2. click stores->settings-> configuration
  3. Go to catalog in the left panel.
  4. Click search engine optimizations
  5. Set both Use Canonical Link Meta Tag for Categories and Use Canonical Link Meta Tag for Products to yes.
  6. Click save config.
How to add canonical URL in magento 2

muthali ganesh

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like

Halloween sale is live! -1 Days 22 Hours 35 Minutes 40 Seconds left to get your free search!
Sign up