Found A Issue Related To Laravel Routing

- 1 answer

I have issue related to Laravel routing. For example if my site is and i have link on my home page <a target="_blank" rel="nofollow noreferrer" href="">Instagram</a>.

Then it does not take me to the Instagram link instead of opening this link it opens the wwww.servername/laravel/public/ instead. How can I open a new link?



Your link is being generated using blade functionality. However based on the discussion in the comments above, the link does not sit within a blade file, and thus the blade functionality, specifically in this case url, is not being called.

Please ensure the following:

  • Blade functions sit within a .blade.php file
  • url is called within the blade markers {{ and }}