Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Daniel Drahnak January 29, 2017

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 votes
Rob Woodgate
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2017

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: https://developer.atlassian.com/confdev/development-resources/confluence-architecture/front-end/confluence-ui-guidelines

Then there's the admin guide to customising spaces: https://confluence.atlassian.com/doc/customizing-site-and-space-layouts-149374.html

And, as the HTML is contained in Velocity files, the velocity template overview: https://developer.atlassian.com/confdev/development-resources/confluence-architecture/confluence-internals/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!

0 votes
Daniel Drahnak January 30, 2017

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.

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events