Force a valid base when saving permalinks