A couple things,
Have you verified the '{{ asset('icons/favicon.ico') }}' does return a valid url to a image?
Also the 'rel="shortcut icon"' is a IE tag and doesn't work with all browsers, take a look at http://www.kevinleary.net/cross-browser-favicons/ who explains all the tags.
Hope that helps
TerrePorter said:
A couple things,
Have you verified the '{{ asset('icons/favicon.ico') }}' does return a valid url to a image?
Also the 'rel="shortcut icon"' is a IE tag and doesn't work with all browsers, take a look at http://www.kevinleary.net/cross-browser-favicons/ who explains all the tags.
Hope that helps
says error 404, but i have in the public_html/myapp/icons/favicon.ico, what can i do
You should try with asset('myapp/icons/favicon.ico'). You should see the URL like:
http://miweb.com/myapp/icons/favicon.ico
Note: If you're getting a 404 error is mainly because the file/folder that you're trying to get it doesn't exists.
well i solved by changing the name of the folder it was really strange, thanks for the help
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community