How to convert raw url to hyperlink? August 17, 2022 by Tarik Billa URL-encode spaces beforehand: make_clickable( str_replace( ' ', '%20', $text ) );