Solved: Magento 2 Product URLs Double html Suffix Problem

Solved: Magento 2 Product URLs Double html Suffix Problem

Have you recently migrated to Magento 2? Are your product URLs end with .html.html?

Working on customizations and Magento 2 migration, we recently faced an issue. After Magento 1 to Magento 2 migration, the imported product URLs were having double html suffix.

Original URL:

With double .html suffix problem:

Steps to get rid of Magento 2 Product URLs Double html Suffix Problem:

  1. Take the backup of your current Magento 2 database.
  2. Run the following command in your Magento 2 database:
  3. Run the below command to flush the cache

That’s it and double html suffix in Magento 2 product page issue is no longer there! Still, stuck somewhere while implementing the solution or having any question regarding it? Do comment your queries and I will be happy to help!

Don’t forget to share the solution to other Magento community members!


Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

(based on 6 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a reply:

Your email address will not be published.