don't allow blank or nil permalinks