English

How To: Add a custom favicon to Portal for ArcGIS

Summary

A favicon is the icon that displays in a web browser when viewing a website. It is also associated with the saved bookmark or favorite shortcut for a website. For example, by default, in Internet Explorer, the favicon is displayed as the 'e' icon in the browser.
[O-Image] Internet Explorere Default favicon
The steps below describe how to configure Portal for ArcGIS with a custom favicon.

Procedure

Before a custom favicon can be added to Portal, a favicon image must be created that meets the following specifications:

• 16x16 pixels or 32x32 pixels
• 8-bit or 24-bit colors
• The format can be either PNG, GIF, or ICO

Because the ICO type of image provides the best results, these instructions refer to this format.

  1. Create the favicon image file and name it 'favicon.ico'.

    Since the favicon is a very small image it is best to keep it simple. Modify the image using graphic design software that has the ability to create a .ico image and meets the above standards. Save the image as 'favicon.ico'.

    Note:
    GIMP is an image manipulation program that is freely distributed and has the capability to create .ico files.

  2. Copy the 'favicon.ico' file to the website root folder.

    Once the favicon.ico has been created, save it in the website root folder where ArcGIS Web Adaptor for Portal is installed. On a Microsoft Windows server, this is normally the wwwroot folder.
  3. Delete the web browser's offline files.

    For the browser to pick up the custom favicon for the Portal website, it may be necessary to delete the browser's offline files. This process is different for each browser type. Refer to the browser's help documentation for this procedure.
  4. Refresh the web browser and voilà!
    [O-Image] Internet Explorer with Custom Favicon