Hello All,
I have multiple portals on DNN installations (running 9.11.00) & having an issue with favicons not displaying in the Google Search Results when they are uploaded via Site Settings.
We're finding if we manually add a link to the icon in Page Output Settings though, it is being picked up (same file that is added via Site Settings). So I'm trying to whittle down why it works one way, but not another. The SEO Manager on the team noticed when added manually, instances where double quotes are being used are being recognized by Google, but single quotes are not. So for example:
The code Site Settings generates is single quotes:
Obviously there's also the Type attribute that's different between the examples, and the DNN generated link includes a version string so there are other variables, but could it be something as silly as the style of quotes used? Google's example is very simple: .
Has anyone else experienced this issue? Thanks!
I noticed the same issue on a DNN site few weeks ago. IMO it's not a DNN issue. I think in our case after changing the filename to favicon.ico fixed it. (which is pretty weird IMO)
BTW did you read this? https://developers.google...ce/favicon-in-search
I am not sure if this is related, but the paths look off to me. The format should be /portals//favicon.ico where is a number.
/portals//favicon.ico
Posted By Timo Breumelhof (40F) on 4/26/2024 12:37 PM I noticed the same issue on a DNN site few weeks ago. IMO it's not a DNN issue. I think in our case after changing the filename to favicon.ico fixed it. (which is pretty weird IMO) BTW did you read this? https://developers.google...ce/favicon-in-search
Yes - I've visited that page, and the ones linked off it, more time than I'd like in the last few weeks. Hahaha
I've started working backwards from it - resizing images, reconverting them to .ico files - but knowing when/if Google picks up the new file is a mystery, even when trying to force the hand via Search Console.
Posted By David Poindexter on 4/26/2024 12:57 PM I am not sure if this is related, but the paths look off to me. The format should be "/portals//favicon.ico" where is a number.
Maybe that's a customization of our installation? All our portals have unique folder names in the filesystem.
To be clear, I work on the front-end side of the house, so I'm not familiar with the details of the back-end installation/implementation.
I Google for and found the site. The paths for the Portals folder appears to be consistent throughout the HTML source code on the homepage. But, this isn't typical. So it makes me wonder what else may have been customized on the site. 🤔 Though, the correct answers appear to be posted already, with the information I'm currently aware of.
Posted By Will Strohl on 4/26/2024 2:47 PM I Google for and found the site. The paths for the Portals folder appears to be consistent throughout the HTML source code on the homepage. But, this isn't typical. So it makes me wonder what else may have been customized on the site. 🤔 Though, the correct answers appear to be posted already, with the information I'm currently aware of.
My first thoughts, exactly!
Yeah - I do know the base DNN has been customized & tinerked with for our purposes, but I don't know what and/or how much. What's weird (though probably not helpful) is that the icons were working in the Search Results previously; so in my gut I think something changed on Google's side, but we can't get anyone over there to give us guidance outside of what they've published.
Another oddity I should have mentioned, but slipped my mind: we had a favicon.ico at the server root that Google WAS picking up instead of the portal icon. We deleted that file hoping it would force the pick-up of the portal icon, but now we're seeing sites with the generic Google blue globe icon. 😐
I do appreciate the eyes on on this & suggestions for what seems to be an isolated occurrence.
Are you able to edit the favicon value that's in the HTML to not include the extra single quote in the URL path? 🤔
This: '/portals/lonestarpowersports/favicon.ico" type="image/x-icon">
Should be:
I hope this helps! :)
Posted By Bobby Weaver on 4/26/2024 7:21 PM Posted By David Poindexter on 4/26/2024 12:57 PM I am not sure if this is related, but the paths look off to me. The format should be "/portals/<PortalID>/favicon.ico" where is a number. Maybe that's a customization of our installation? All our portals have unique folder names in the filesystem. To be clear, I work on the front-end side of the house, so I'm not familiar with the details of the back-end installation/implementation.
Posted By David Poindexter on 4/26/2024 12:57 PM I am not sure if this is related, but the paths look off to me. The format should be "/portals/<PortalID>/favicon.ico" where is a number.
I'd just like to precise that DNN allows to customise the portal root during the portal creation. By default, the Portal Directory value is prefilled with Portals/[PortalID] but it's possible to customise it. Go to the Sites menu and click on "Add new site" to see this option. Said that, I haven't tested this type of personnalization long time ago.
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.