MyBB Community Forums

Full Version: How to change icon in website address
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone, topic says all, thanks for help in advance!
Create a file named favicon.ico and drag it into your root directory and then clear cache of your website and it will be live
(2019-10-16, 07:33 AM)makpaolo Wrote: [ -> ]Create a file named favicon.ico and drag it into your root directory and then clear cache of your website and it will be live

by root you mean to "forum" or to forum->images?

also can you remind me how to clear cache?
Just copy that file to the upper forum/domain directory.

It depends on the browser on how to clear the cache. You might press Shift-F5 to force a site refresh, but maybe your browser does store favicons in a seperate icon cache. Then just wait until the browser refreshes itself. Or try to put a parameter behind the icon file source, e.g. "favicon.ico?20191016".

BTW. If you want to create or edit favicon file (*.ico) from any image, you can use this great online tool to generate icon for different dimensions.
http://www.xiconeditor.com/

[ExiTuS]
Do not forget to put the meta tag to your <head> section in html page!
In MyBB template Ungrouped Templates > headerincldue

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">

[ExiTuS]