redirect – Cart and Checkout redirecting to 404

Kindly change your Magento mode to “developer

You can use following command to move in developer mode.

php bin/magento deploy:mode:set developer
php bin/magento setup:upgrade 
php bin/magento setup:static-content:deploy -f
php bin/magento c:f 

after that try again with the cart and checkout page. you will see full log in [Magento_root]/var/log/ folder.

Hiren Patel