Learn More






Permalink : Add Custom HEAD Tags

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Add Custom HEAD TagsAdd Custom HEAD Tags
New Post
4/26/2008 8:30 PM

I see on the home page of DNN that there are several tags in the HEAD section. I see through ADMIN that Title, Description and Keywords are managed by a user adding pages.

How does an Admin or Host add optional meta tags to the skin?


New Post
4/26/2008 10:07 PM

Things like this work in ASCX skinning.  I think that the skinning engine will still allow this to work with HTML skins as well.  Just put this at the top of your skin file and try it out (on a test installation of course).

<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 dim objCss As New PlaceHolder
 objCss = Me.Page.FindControl("CSS")
 If Not objCss Is Nothing Then
  objCss.Controls.Add(New LiteralControl("<meta name=""yourtag"" content=""yourcontent"" />"))
 End If
End Sub
New Post
5/10/2008 2:22 PM

Can anyone confirm this would be the right way to solve my favicon issue?

<link rel="SHORTCUT ICON" href="/Portals/0/favicon.ico" />

...and if so, should the ico file be in this specific directory?


New Post
5/11/2008 12:55 PM

Additional HEAD tags can be placed into Page Settings > Advanced Settings > Page Header Tags.

You need none of that for your favicon though. Just place favicon.ico into the root of your site and you are done.

Tom Kraak
SEO Analyst
New Post
5/11/2008 3:07 PM


Thank you for the response. I've been having issues all week on this. I've just discovered that in IE and Firefox, I get a blue bird ico when using the www, but not if it's left out. shows a blue bird (which is my ico file) shows the default DotNetNuke ico file which is NOT in the root (I deleted it)

Looking specifically for the file, shows the 16x16 bird. However, Looking specifically for the file, shows the 48x48 default DNN file, which does not exist in the root as an ico file.

Any ideas?


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Add Custom HEAD TagsAdd Custom HEAD Tags

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?