How do I place <meta> tag into the <head> section of individual page?

Hi, could someone help guide me on how to add

meta name=“robots” content=“noindex”

on to individual pages please?

Many thanks in advance!

Use the free plugin called Toolbox to use the action Run Javascript on page load for the pages you want to have the tag and add this code:

var meta = document.createElement('meta');
meta.name = "robots";
meta.content = "noindex";
document.getElementsByTagName('head')[0].appendChild(meta)

You can add the meta tag directly to the individual page by adding the tag in the HTML Header section of the page (using the property editor) :

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.