magento 2 shows 404 error on product detail page
<p>I am getting 404 error on <strong>ALL</strong> product detail pages. This happened right after I imported new products. Yes I did reindex several times. Everything else loads as it should. I thought maybe it is because of url rewrite module but if that was the case then I had to have the same problem for categories but I don't. Also I created a new product to see maybe there is a problem with my import file but the new product throw 404 as well.
Here is an url example for product detail(throws 404 error): <code>http://example.com/index.php/09wx6359.html</code>
Here is an url example for categories which works fine: <code>http://example.com/index.php/product/resistor/film/metal.html</code>. So Problem is not re-indexing or rewrite url. I'm using Magento 2.0.4. Please HELP</p>