Support the ongoing development of Laravel.io →
Configuration
Last updated 1 year ago.
0

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

0

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

0

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.

0

well i solved by changing the name of the folder it was really strange, thanks for the help

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.