Remove MetaTags

Aug 18, 2011 at 1:14 PM

Is it possible to create a function to remove meta tags?

The search result page from dnn are indexed by google and i like to remove the meta tags to disable it.

Aug 19, 2011 at 12:52 PM

Thank you for your feedback.

I already have plans to allow the addition of a noindex meta tag to a page, (on certain conditions).

I did not think about the fact this meta tag is already in the head of the page:

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

I'll look at adding an option to edit an existing meta tag too.

If this is possible, depends on when DNN sets the meta tags
(if it does this after the code of the skin object runs it cannot be done with a normal skin object)

I created an issue for this here: