In my magento 2.4.2 one website have 6 stores, Only default store product detail page is opening rest of all store product detail page is showing 404 not found any idea where is the issue? Rest of all are pages are working perfect in all store only product detail page have issue
There might be any third-party module's code in the product page that creates conflict with multi-store
When I run below command my problem solve, Now I want to run below command programmatically, Any one let me know how can I do this?
php bin/magento regenerateroduct:url