validate url function

post meta box formatting