Hi there, I'm facing an issue with the product category url rewrites. I have a Magento 2.1.6 installation which it seems that url rewrites don't work properly. When I issue the php bin/magento indexer:reindex command all the indexes except catalog_product_category and catalogrule_product update correctly. Taking a look to catalog_url_rewrite_product_category table I see that is empty although I have 2000 product and plus.
If I try to save a new product, that table starts to be populated starting from the latest product's id (see the screenshots).
So the question is: how can I rewrite correctly the others 2000 products' url? I tried to do so selecting all products and re-adding them to main website through the attribute update section but no results.
I hope I was clear.
Take a look to the screenshots for a better understand.