mrperfectionist
1 month ago
167
3
Laravel

Dynamic URL in Laravel

Posted 1 month ago by mrperfectionist

I have a link, which value is coming from database. Like this:

<a href="{{ url($facebook)}}">Link</a>

But it is creating the URL like this

http://localhost:8000/amazon.com/xyz

I don't want localhost:8000. What is the approach? Just it will be: amazon.com/xyz

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