Skip to content

404 every page on frontend only After upgrade 2.4.2 to 2.4.5

After Upgrade Magento 2.4.5-p1, I got 404 on every page on the frontend. The CSS and JS URLs are correct. The admin is working fine.

When I changed the 404 page it changed the 404 page to added page. But after it’s shown same page show on every page.

https://prnt.sc/DtBvsqyyHksX

When I disable the store code, pages show, but we need to show the store code in the URL. So any one can any idea about it?

https://prnt.sc/ADXgNWNfvJMQ

Can anyone Help me, please?