After pushing from staging to production, I was getting 404’s for every single custom post type page. All that was needed to was resave permalinks.
It would be helpful if the push from staging to production also flushed the permalinks as a final stage. Doing so can’t negatively anything but will prevent a site becoming unusable after a staging -> prod push.
Thanks a lot