Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Paths: $wgFavicon
The URL of the site favicon.
Introduced in version: 1.6.0 (r12942)
Removed in version: still in use
Allowed values: relative path or absolute URL
Default value: "/favicon.ico"

Other settings: Alphabetical | By Function

Details[edit | edit source]

The URL of the site favicon (the small icon displayed next to a URL in the address bar of a browser).

You do not need to set this if you upload your favicon.ico to the root of your site. That's where browsers look for it by default. Make sure file name is in lower case and its name is "favicon.ico".

To use a favicon located other than in your site root, in LocalSettings.phpManual:LocalSettings.php add $wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";


$wgFavicon = "../favicon.ico";

Tip: The favicon image should be either 16 x 16 pixels or 32 x 32 pixels.

See also[edit | edit source]

External links[edit | edit source]