Wordpress Favicon not displaying
I have uploaded my favicon to the root of my website and added this code to the header.php of my current theme.
<link rel="shortcut icon" href="http://mywebsite.com/favicon.ico" type="image/vnd.microsoft.icon"/>
<link rel="icon" href="http://mywebsite.com/favicon.ico" type="image/x-ico"/>
After refreshing many times the Favicon doesn't show up.
The url is right as I've checked it and it works.
开发者_如何学JAVAAny ideas?
UPDATE: I'm testing it on firefox and yes, I've tried the ctrl-F5 too.
It might be that your browser cached the old favicon. This cache is usually hard to clear, but try:
- Ctrl-F5 on the html page
- Open http://yourwebsite.com/favicon.ico, and Ctrl-F5
Use the All in one Favicon Plugin for wordpress favicon. it's really useful and easy to use. you can even set frontend favicon and also backend favicon.
Plugin link : http://www.techotronic.de/plugins/all-in-one-favicon/
精彩评论