It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to apply "nofollow"or "noindex" tags to selected Confluence pages or spaces?

We have some spaces on our Confluence instance that need to be publicly accessible to users without a prior login. However, these are only relevant for our specific user community, and we do not want these pages to be picked up and listed by wider search engines.

Is there a way to selectively apply nofollow or noindex tags to a given space or page in Confluence?

1 answer

Adding them to a given space is easy, you edit the "Main Layout" decorator and add the tags to the <head> HTML block.

For individual pages, I would probably modify the header to use some jQuery or other scripting that conditionally adds those values -- either based on a label or on some value you set on the page.

Remember, adding nofollow/noindex is no guarantee that search engines will not pick up the content. It's all on the honor system, so in this case, not being indexed is not going to protect your contents. If you REALLY don't want pages to be searched/indexed, you should require a login to view them.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

361 views 0 12
Read article

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