Question

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:

https://example.com/catalog/product/view/id/440/s/product-url-key/57/

and the others are:

https://example.com/product-url-key.html

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

Thanks.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top