Your mid foot arch in your shoe should keep your foot from sliding as well as your metatarsal pad. They need to be located in the right position too. On long rides your feet will swell and if there isn't enough toe box room at the tips, you'll probably get numbness. Having the right fitting shoes is key to a comfortable ride and prevents injury. My Shimano SPD bike sandals have no problems.