Product urls are displaying with category and product id
Now url is displaying like below http://localhost/magento2/catalog/product/view/id/1234/category/12/
But i want http://localhost/magento2/test-product
catalog-url-rewritemagento2product-urls
Product urls are displaying with category and product id
Now url is displaying like below http://localhost/magento2/catalog/product/view/id/1234/category/12/
But i want http://localhost/magento2/test-product
Best Answer
Try to edit 1st level or 2nd level categories and simply save it and it will generates rewrites for products assigned to that category. This worked for me when i migrated store from Magento 1 to Magento 2.