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 ...Does DNN auto place the Meta Tag "Follow,Index"?Does DNN auto place the Meta Tag "Follow,Index"?
Previous
 
Next
New Post
1/7/2011 6:26 PM
 
For us the Index, Follow works for the majority of our site pages. However I am currently adding a page for one of our groups to access reports and files off site and at this time we are unsure if we would need to open the page to the general public.  Either way we do not want it indexed, followed or archived.  Adding the tag to the specific page via the page settings includes it but also leaves the default meta tag.  As a note our team does not have backend access and are limited to the editors.

How would the 2 robot meta tags work on the page? 
Would they stack like CSS links with the newest one over-riding the previous?
Has anyone figured out how to add a robots meta tag to individual pages and have it over ride the default?

All suggestions welcome and thank you in advance.
Lori
 
New Post
1/24/2012 7:16 AM
 
Just in case anyone else ever sees this thread and needs to do something similar then if your page skin has a code behind file then you can use the following code to remove an existing meta tag and replace it with one of your own choosing. I had to take this approach because we have multiple sites on the same installation and only one of those sites wanted their site to be excluded from search indexes. As always use this at your own risk but it works fine on our installation.

Try
'remove the existing MetaRobots entry
page.Header.Controls.Remove(Page.Header.FindControl("MetaRobots"))

'build our own new entry
Dim mymetatag As New System.Web.UI.HtmlControls.HtmlMeta
mymetatag.Name = "robots"
mymetatag.Content = "noindex, nofollow"
page.Header.Controls.Add(mymetatag)
Catch ex As exception
'catch an exception if MetaRobots is not present

End Try
 
New Post
2/12/2012 8:20 PM
 

Just did a bit of searching on my own and came up with this thread on Google webmaster forums:

http://www.google.com/support/forum/p... 

It clearly states that if there are multiple ROBOTS tags on a page Google bot will follow the most restrictive. So no need to modify any core code or add any code behind. Simply add this line to your header tags under Page Settings>Advanced>Header Tags

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

This will force Google bot to follow this rule (NoIndex, NoFollow) as it is the MOST restrictive.

 
New Post
6/9/2012 11:37 AM
 
You can use this module to remove the META Robots Tag and then include your own:

http://www.40fingers.net/Weblogsampnews/Weblogs/tabid/58/articleType/ArticleView/articleId/23/First-Beta-release-of-Style-Helper-Skin-Object.aspx
 
New Post
1/3/2013 11:14 PM
 
Interesting thread - thanks for the information guys. I've just put some of this in News Articles.

Scott McCulloch
Developer, F5 Networks
Owner, Ventrian DotNetNuke Modules
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Does DNN auto place the Meta Tag "Follow,Index"?Does DNN auto place the Meta Tag "Follow,Index"?


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