fixing locations page redirect for production