0
In my custom field, users add their site URls. I want to display them like this example.com not http//example.com/. I want to remove the http/https. This is just for the display purpose.
<a href="<?php echo($context['user_data']['website']) ?>" rel="nofollow" target="_blank"><?php echo $context['user_data']['website']; ?></a>
While display, it displays the entire URL like http://example.com in a link. I want to remove the protocol and display like example.com
Thanks