I have migrated from my hosting to local (I need to modify and upgrade my Magento website) now 18.104.22.168 to localhost.
It seems that all is ok, homepage, categories,... I see the products on backend but on product page (front-end) i see a 404 error.
The products are available, with stock, and it seems that all is ok.
Someone has an idea why it happens?
Usually this error is fixed by doing re-indexing, refresh caching.
Thank you for your answer.
But I re-index all index Management, delete var/cache directory, Refresh Cache Storage Management, Flush Magento Cache and Flush Cache Storage and still Product page give me a 404 error.
Someone else have an idea?
Also try after running Magento compilation. (Make sure you take a backup of your website before running Compilation)
I'm not enough familiar with magento coding.
I have this problem updating magento 22.214.171.124 to 126.96.36.199 in wamp server.
Sometimes the categories and products url return 404 error!!!
Urls in version 188.8.131.52 work correctly, but after upgrade, they return 404 error.
I also truncated the "core_url_rewrite" table and then reindexed all, but that didn't work.
My url keys of products and categories include persian,english and numeric characters.
i don't know what is the exact reason for this!!! can anyone help me please?!