Fix existing permalinks