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
4/1/2010 8:39 PM
 

<meta id="MetaRobots" name="ROBOTS" content="INDEX, FOLLOW" />

appears on every page....

Is there a way to edit this so it does not appear?   What happens if is place this in the page settings, header tag section -->

<meta id="MetaRobots" name="ROBOTS" content="NOINDEX, NOFOLLOW" />

Which line wins?

 
New Post
4/2/2010 3:48 AM
 

Just search the codebase and yes it does auto place it.....

 

            ' META Robots
            If Request.QueryString("ctl") IsNot Nothing AndAlso _
                    (Request.QueryString("ctl") = "Login" OrElse Request.QueryString("ctl") = "Register") Then
                MetaRobots.Content = "NOINDEX, NOFOLLOW"
            Else
                MetaRobots.Content = "INDEX, FOLLOW"
            End If

 

It appears that there is no way to change it right now.

The effect of injecting the tag on your own would probably have unpredictable results depending on the crawler.

Can you give some background as to why you want to change this?

 

 

 

 
New Post
4/7/2010 12:39 PM
 

I would really like the option to turn that off at the portal or page level.

Our site has a number of pages that do not require authenticaton but are used with a querystring value to display dynamic content. Goggle indexes these pages and an organic search for the site name includes these dynamic pages in the results. Clicking the link from google causes unexpected results due to the missing url param. I have coded around this by injecting some js to check for the param and perform a redirect when it is missing.

It would be nice to optionally have the robots tag set to NOINDEX, NOFOLLOW so these pages do not get indexed and do not show in search results.

 

SDR

 
New Post
4/8/2010 4:13 AM
 

There's no way of changing this easilly but you can modify the Default.asax.vb file (just comment out the Robots Meta) to remove it and then apply custom code to the head tag through page settings when logged in.  I have removed the Robots Meta tag and injected custom canonical tags using this method.

 

Hope that helps!

 
New Post
4/8/2010 4:17 AM
 

Scratch the the first bit of the last reply.  Open up Default.aspx (root) and Default.aspx.vb and search both for the Robots tag.  It may need to be removed from both files or it could be hard-coded in Default.aspx.  The rest of the last reply is correct though.

 
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