Sound like a vhost setup issue to me ...
Make sure your laravel directory is pointing to the subdomain called directory instead of the main domain directory.
I found the problem. I was supposed to use {{ url () }}.
Thanks.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community