Greetings,
I am aware I can change the favicon of a portal but when someone accesses a file from the File Management the DNN favicon still shows up, for example. This occurs on all my Portals so I thought the best way to solve this would be to change the default favicon but I cannot find it. I would like to ask where it is located.
Best Regards, José Nobre
Michael TobischDNN★MVP
You could try setting something like this in the head of a custom skin, different on each site <link rel="shortcut icon" href="/path/to/folder/favicon.ico" type="image/x-icon">
Posted By James Clarkson on 06 Oct 2021 05:28 PM You could try setting something like this in the head of a custom skin, different on each site
You could try setting something like this in the head of a custom skin, different on each site
James,
this is what DNN does automatically when you define a fivicon for a portal. The problem is that if you have a link to a document (PDF or whatever), the skin (and also DNN) does not load, but only the document, therefore the browser uses the favicon.ico file in the root directory.
Happy DNNing! Michael
Ah, I see now. It should be possible to use url rewrite rules in IIS.
<rewrite> <rules> <rule name="Favicon1"> <match url="^favicon.ico$"/> <conditions> <add input="{HTTP_HOST}" pattern="^siteone.com$" negate="false" /> </conditions> <action type="Rewrite" url="/favicon1.ico"/> </rule> <rule name="Favicon2"> <match url="^favicon.ico$"/> <conditions> <add input="{HTTP_HOST}" pattern="^sitetwo.com$" negate="false" /> </conditions> <action type="Rewrite" url="/favicon2.ico"/> </rule> </rules> </rewrite>
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.