Duplicated  permalink validation 

Just removed the duplicated validation and moved some validations to the same line.