How to add <meta name="robots" content="noindex" /> to doc theme pages?

I'm looking to suppress public search engine indexing on a number of older doc theme pages in Confluence 5.6.6. Can anyone suggest the best method for adding 

<meta name="robots" content="noindex" />

to header of each page?

3 answers

0 vote
Steven Behnke Community Champion Jan 29, 2017

The most straight-forward way would probably be to edit the theme itself and reload Confluence. Is this acceptable, or a non-starter?

Thanks Steven. We would need to add this meta tag to only a few specific spaces using the doc theme. Not sure if we could precisely do this using the method you suggest.

Hi Daniel,

I can't say i know exactly, but you might want to start by looking at Atlassian's developer guide for customising spaces:

Then there's the admin guide to customising spaces:

And, as the HTML is contained in Velocity files, the velocity template overview:

These may or may not give you the answer you need, but they should help you understand how it all fits together and maybe work out what terms to search for.  Or, hopefully someone here will be able to help with an exact answer!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

670 views 21 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you