WooCommerce return 404 in the product page

Try to flush permalinks if you have a caching plugin,

Please share more info so we can diagnose the issue.

[Edit]

this is your link structure:

enter image description here

Install SEO Press or Rank math to be able to control you Woocommerce permalinks.

setup your permalinks like this:

enter image description here

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)