What is the correct favicon path? I've tried doing something like 'assets/images/favicon.ico' but it does not want to work
s
Steve Goldberg
08/09/2022, 2:57 PM
So, there’s a bit of flexibility but mostly hardcoding for favicon. Two important places to look:
1. The SSP file (for the <link rel …> line)
2. The backend Application module (where getFaviconPath() is defined)
Steve Goldberg
08/09/2022, 3:09 PM
You can see that there a lot of different conditions that happen. In short, if a value is set in the configuration record then it will look under Web Site Hosting Files Live Hosting Files SSP Applications [SSP name] Development [/Source] > [path in config record] > img > favicon.ico.
Steve Goldberg
08/09/2022, 3:10 PM
If no value is set and the site is using new enough technology such that it has a theme, then it will use the theme asset path — this is the path you set in your theme. If you’re using a custom theme, it’s generally advisable to put your favicon in assets/img/favicon.ico
Steve Goldberg
08/09/2022, 3:10 PM
If you’re not using a custom theme, then you will need to create folder structure in the file cabinet in the above location such that it points a folder/file that ends in img/favicon.ico
Steve Goldberg
08/09/2022, 3:13 PM
For example, here is a penguin I use as my site’s favicon: