I'm facing an issue in Magento 2.2.0 and Unero Theme 1.3.2 where there are products that have an URL like:


and the others are:


I'm checking the condition of SEO setting in the catalog's configuration, but I think it's already correct in the store view level setting.

SEO Store View Configuration

And this is the SEO settings in the catalog -> product itself SEO Product Settings

I'm currently at the beginning state of developing and learn Magento Programming. Do it need code modification in core / theme? Or there are something wrong with the configuration?

Expected result are the second one where there is .html in the product's URL


  • In admin products section you selected catalog,search?? Feb 15, 2020 at 4:25
  • Thank you for your edit suggestion. Yes, the visibility is catalog, search. Is this affecting the URL's generation?
    – Marbonka
    Feb 15, 2020 at 5:27
  • I am found some days ago same problem my site and i have changed the visibility. And my issue is solved. Feb 15, 2020 at 17:29
  • it is possible that some products in the past didn't generate, to regenerate all use github.com/elgentos/regenerate-catalog-urls (this can update product urls as well as catalog). check that new products are created correctly . I had this issue and used a SQL script to check for enabled and visible products correctly appearing in the url_rewites table
    – Barry
    Feb 15, 2020 at 19:16
  • @Barry does it run in the PHP 7.1 and Magento 2.2.0 ? I've seen the release version just added PHP 7.3 on composer require list. Thank you anyway for your suggestion!
    – Marbonka
    Feb 16, 2020 at 7:53

1 Answer 1


I've finally found a solution by a fellow developer that this one is working with PHP 7.1 and Magento 2.2.0 : https://github.com/olegkoval/magento2-regenerate_url_rewrites

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.