(note that you must hit the save button even if one of those options are already selected. This tells WordPress that that it needs to refresh the permalinks and that you have a new slug for portfolio that it needs to check)