What is the correct favicon path? I've tried doing...
# suitecommerce
i
What is the correct favicon path? I've tried doing something like 'assets/images/favicon.ico' but it does not want to work
s
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)
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.
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
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
For example, here is a penguin I use as my site’s favicon:
i
That worked thanks @Steve Goldberg!