How to add canonical URL in magento 2

How to add canonical URL in magento 2

Rate this article

Share this article
Share on facebook
Share on twitter
Share on linkedin
Share on email

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

How to add canonical URL in magento 2

 

  1. Log in 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.How to add canonical URL in magento 2
  6. Click save the config.

Add a Search Bar to Magento

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published.

You may also like
Hold on!
We’ve gathered our industry knowledge and are sharing hacks, tips to increase e-commerce revenue. Contains best tips for scaling up your ecommerce business.