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 ...How to apply a Meta Tag to all pages at onceHow to apply a Meta Tag to all pages at once
Previous
 
Next
New Post
3/16/2011 6:10 AM
 
Hello,

new issue!

I'm wondering how can i apply a Meta Tag to all pages?

I think it should be possible with a script in skin .acsx file, but i don't know how to do it.

I don't even know in what language should it be done.

Somebody could help me with this?

I want to put the meta tag <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> because the site is in production and i don't want it already on google results.

By default i see that the DNN pages have <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">

Thanks in advance

Regards
 
New Post
3/16/2011 7:57 PM
 
What about just changing your robots.txt file to something like this:

User-agent: MS Search 4.0 Robot
Disallow: /

User-agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 4.0 Robot) Microsoft
Disallow: /

User-agent: *
Disallow: /

User-agent: msnbot
Disallow: /

User-agent: Slurp
Disallow: /

User-agent: Googlebot
Disallow: /

User-agent: Yahoo Pipes 1.0
Disallow: /

I actually do have a site with this type of robots.txt file setup and it appears to be working. I've got google adsense ads placed in multiple areas of my site and I only get public domain ads because Google currently cannot crawl my site based on my robots.txt.
 
New Post
8/17/2011 9:43 AM
 
The problem is that i've several sites in the same multi-portal instalation and i just want to apllied to one single site.

The robots.txt should be in the root to work, and there will affect all my sites.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to apply a Meta Tag to all pages at onceHow to apply a Meta Tag to all pages at once


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