I am using Magento2.2.2 and I used third-party module for URL regenerate this Iazel_RegenProductUrl and I apply command line through change URL
for example apply this
/usr/local/php71/bin/php-cli bin/magento iazel:regenurl -s2 51
After cache flush than regenerate sitemap for a specific store and check it but same URL regenerate it "catalog/product/view/id/51".
If anyone this type of issue facing please reply to me because out website three store us UK and Italy.
In sitemap not generated same name multiple product url not generated and showing this url catalog/product/view/id/51 how to fix it in sitemap inside
Thanks in advance.