1 year ago

Can't force laravel to href link should be from root

Posted 1 year ago by nhayder

This should be simple but yet its not getting done, :-0,

i have freaking simple href link and laravel keeps appending the link to to the beginning of the link.

on my controller the $button->weblink contains http://abc.com but instead to visiting http://abc.com laravel is giving me

i tried these but nothing seems to fix the issues ???

<a href="{{url($button->weblink)}}"></a> // returning

<a href="{{$button->weblink}}"></a> // returning

<a href="/{{$button->weblink}}"></a> // returning

how to fix this thing ??? the link should redirects to http://abc.com

any idea ???

Please sign in or create an account to participate in this conversation.