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...Skins, Themes, ...Skins, Themes, ...What file is called to load meta data?What file is called to load meta data?
Previous
 
Next
New Post
12/4/2014 3:09 PM
 

What file actually loads the meta data to the site?  Or any header data for that matter.

Some how I have a site that has meta tags appearing on every skin for every page that need to be removed.  This is got to be on a code or database level.  Any help would be great.  Thanks!

 
New Post
12/4/2014 8:35 PM
 

Thats going to depend on a number of factors - firstly ... what version of dnn are you running.
Different versions of DNN handle meta data in different ways.
Secondly - what meta data are you seeing that needs to be removed.
DNN injects metadata as a part of default.ascx but you can just edit that without an understanding of how other parts of the system interact with the metadata.

Westa


 
New Post
12/5/2014 9:50 AM
 
Thanks for the Response Wes. I am running DNN 7 and ended up finding the place the code was being injected.

/default.aspx
 
New Post
12/5/2014 9:58 AM
 
Bryan Myers wrote:
Thanks for the Response Wes. I am running DNN 7 and ended up finding the place the code was being injected.

/default.aspx

 In general it's not a good idea to edit default.aspx
The reason for this is that your changes will be overwritten on upgrade.
You can also manipulate the meta tags from the skin, but you would need to use our free style helper skin object for that.
(it can change the meta tags dynamically)

That advantage being that your changes stay in place on upgrade.
But it is a bit more work to make the changes.

http://stylehelper.codeplex.com/

 


 
New Post
12/5/2014 10:06 AM
 
I inherited a mess, so I have to work with the environment I have... but...

What would you say is a best solution for this problem.

I have two separate installs for DNN. One is for development / testing and the other is for live / production.

I never do a full publish, just the files that have been changed. I don't want the development site indexed by search engines, so the list guy that I replaced, put the meta no-index tags in the /default.aspx page. I didn't know this was the case and an third party developer asked for the file to be published. This caused a deindexing of our site.

Not worrying about an upgrade anytime soon, so i thought I would write a bit of code to check the domain and only put the no-index metas in on the development url.

Thoughts?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...What file is called to load meta data?What file is called to load meta data?


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