Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...Removing ,DotNetNuke,DNN from Keywords Tag, DNN 3.3.7Removing ,DotNetNuke,DNN from Keywords Tag, DNN 3.3.7
Previous
 
Next
New Post
6/6/2007 6:33 PM
 

All,

I'm not very proficient in VB coding, so please excuse me for missing out on procedure calls, etc.  What I'm trying to accomplish is to remove characters being inserted into the KEYWORD tag in default.aspx in order to boost my sites' SE rankings.  The characters that are being inserted are ,DotNetNuke,DNN.  The keyword addon is not relevant to what I'm trying sell on my site.  I traced the code to the Default.aspx.vb file residing on the main DNN folder on the server.  I saw a VB script that inserts, ",DotNetNuke,DNN" in lines 188-196.  Below is the code:

I changed this

           ' META keywords
            If PortalSettings.ActiveTab.KeyWords <> "" Then
                KeyWords = PortalSettings.ActiveTab.KeyWords
            Else
                KeyWords = PortalSettings.KeyWords
            End If
            If GetHashValue(Common.Globals.HostSettings("Copyright"), "Y") = "Y" Then
                KeyWords += ",DotNetNuke,DNN"
            End If

to this

           ' META keywords
            If PortalSettings.ActiveTab.KeyWords <> "" Then
                KeyWords = PortalSettings.ActiveTab.KeyWords
            Else
                KeyWords = PortalSettings.KeyWords
            End If
            If GetHashValue(Common.Globals.HostSettings("Copyright"), "Y") = "Y" Then
                KeyWords += ""
            End If

After I changed line 195, it still inserts the characters at the end of the keywords tag.  Am I missing something or is it being inserted somewhere else?  If so, can you point me in the right direction so that I can remove the keyword addition?

Any help would be greatly appreciated.

Thanks!

Eric

 

 
New Post
6/6/2007 8:48 PM
 

If you are not proficient in VB coding, it would be advisable not to touch the core application at all :)

Why not just log on as host in your site, and turn off the copyright setting there...


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/7/2007 11:09 AM
 

I would never for the world of me think that those character inserts in the keyword tag could be turned on/off via Copyrights in the HOST --> SITE SETTINGS tab.

ErikVB, many thanks for the quick tips and the help!    Problem solved.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Removing ,DotNetNuke,DNN from Keywords Tag, DNN 3.3.7Removing ,DotNetNuke,DNN from Keywords Tag, DNN 3.3.7


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out