I had this issue - I managed to get into the admin area and just save and resave the permalinks. This fixed this issue. Hope it helps some else.