XF 2.2 How to hide a forum from all search results

Tradidi

New member
I would like a certain forum to be excluded from all search result. I don't want to this to be an option that the user can turn on/off, I don't want to present the user with a selection of forums to include/exclude, I just want to force this forum to be always excluded from all search results.

Any suggestions?
 

beerForo

Well-known member
It's a node option

You have this:
Include threads from this forum when users click "New posts"

And also this which is what you are looking for:
Allow search engine indexing
Index all threads
Do not index any threads
Index threads based on criteria
 

Tradidi

New member
It's a node option

You have this:
Include threads from this forum when users click "New posts"

And also this which is what you are looking for:
Allow search engine indexing
Index all threads
Do not index any threads
Index threads based on criteria
I believe this applies only to external search engines, not to the internal search function.
 

Tradidi

New member
I would just make them private.
Good suggestion but unfortunately it doesn't work. I still want guests to be able to view the discussions in this forum and members to post in them.

By making the forum private it is indeed excluded from search results, but by explicitly giving Guest and Registered users the permissions they need the discussions in this forum show up again in the search results.
 
Top