Bobcares

How to remove Double Canonical Tags in Magento 2

by | Mar 9, 2023

Are you wondering how to remove Double Canonical Tags in Magento 2? Our Magento Support team can help you with your questions and concerns.

How to remove Double Canonical Tags in Magento 2

If you use the Magento Blog extension, you will likely come across the double canonical tag issue on blog pages. According to our experts, this is a common issue and is often caused by the use of third-party SEO extensions.

In other words, these SEO extensions add an additional canonical URL for our blog pages, resulting in double canonical tags.

Canonical tags can be described as HTML tags that inform search engines which URL version is the primary version. These tags are used when a website has several pages with similar content. Without canonical tags, search engines have to decide which page to show.

Fortunately, we can easily remove double canonical tags in Magento 2 by heading to the settings of the third part SEO extension and ensuring the Canonical URL is not set for certain pages.

How to remove Double Canonical Tags in Magento 2For instance, if we are using the Mageworx SEO extension, we can use the following steps to remove the Double Canonical Tags issue with these steps:

  1. To begin with, head to Stores > Configuration > Mageworx > SEO Base and select Canonical URL Settings.
  2. Then, we must add the following to the “Canonical URL won’t be added for those pages” box:
    • blog_index_index
    • blog_post_view
    • blog_category_view
    • blog_archive_view
    • blog_author_view
    • blog_tag_view

Then, after the above steps, the second canonical URLs will not be set for our blog pages. In other words, the native blog canonical URLs are used.

Let us know in the comments if you need further help to resolve the double canonical tags.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

To sum up, our Support Techs demonstrate how to remove double canonical cags in Magento 2.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.