Today now in this blog I will show you how to set url without http of other site in laravel application. If you are working on laravel framework and you want to give to any other site URL. Then we can do this easily give url by using a tag like href=”https://www.facebook.com” but if we are work on laravel then it can’t redirect on given URL because laravel always it redirect on current site, but we need to solution of this problem. So here we know how to set URL without http or https of Other site in Laravel Website?, I will describe as under.
For example if we want to give facebook url then we can give this way :
<a href="//facebook.com" target="_blank">FB</a>
Thanks for read this, I hope it will you. You can also follow us on Facebook.