Hello I have a very simple code
Website
You also may take into account that "http(s)" must be at the beginning of the url:
if (preg_match('/^https?:\/\//', $aProfileInfo['Website']) === 0) { $aProfileInfo['Website'] = 'http://'.$aProfileInfo['Website']; }