Removing useless permalinks.