I'm supporting a magento web site. The problem is that product view urls e.g. [link] http://localhost/magento/catalog/product/view/id/23 always return 404.
The category view url e.g. [link] http://localhost/magento/catalog/category/view/id/4 is working fine.
Should I investigate something in code? or in database?
Thanks
1) Try re-indexing data:-
2) Edit the product and see if the following settings are done:-
3) Refresh the Cache (System -> Cache Management)