How can I set a page to be excluded from search results?

I am using my confluence instance (one is OnDemand, I have another version that I host myself) as a policy library. I have previous (old and no longer in force) policies posted for continuity (they have to be accessible) but I want to keep these individual pages from showing up in search results, which creates user confusion about which policies are current and which are not. Is there some way to set a given page (or attachment) to be excluded from search results?

3 answers

1 accepted

1 vote
Accepted answer

Hi John,

If you mean results from search engines, you would only be able to do this in the instance you host internally, as it requires access to the file system. You can set a robots.txt file that will tell Search Engine spiders what they can and cannot index. In addition, for existing pages, you should be able to request they be removed from the existing index - at least Google allows this.

If you want to restrict the pages from a Confluence search, you would need to actually restrict the pages as mentioned above, or find a plugin that can do it for you (also not available in OnDemand).



2 votes
Bruno Rosa Atlassian Team Feb 15, 2013

John, I'm afraid this won't be possible to achieve on Confluence OnDemand. I say OnDemand because as far as I know, by default, Confluence indexes everything it can read and there is no possibility to exclude a page or specific pages from being indexed. However, if there is a way to do that, it would be possible on a Confluence Self-hosted environment. I can't guarantee it's possible, however since the self-hosted environment is highly customisable and you are free to install any plugin you want, your best bet to achieve this, would be it.


Bruno Rosa

Hi John

If the users don't need to see the archived results ever then you could view restrict the pages that you don't want showing up in search. This will mean, however, the users will never be able to see the pages (even via direct url navigation) until the restrictions have been lifted.

Do you know how to restrict pages? If not, I can include more instructions in my answer. The best way to add restrictions will depend on the structure of the pages you want hidden.

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

47 views 0 4
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