adds else statement to https validation on links