Sanitize WordPress URL

Proposing to sanitize WordPress URL and to add a title tag as well :) 

Thanks!