Is there an option to disable “Search” for anonymous users? Allow only logged in users to search the forum… Thanks in advance.
2 Likes
You should hide the search box with CSS. You’d also need to see that Google doesn’t index your site, if you really want people not to be able to find things.
1 Like
Hi, check out this thread Hooks from: & to: syntax in yml to disable anonymous searches - #4 by opcourdis
Adding the line below in your app.yml in the env: section, then ./launcher restart app may be useful even tough I wonder if there is still a way to access contents in another way for anonymous users who may also set a session cookie to pretend to be connected, but I may be wrong.. If anyone has an opinion on this, feel free to share
env:
DISCOURSE_RATE_LIMIT_SEARCH_ANON_GLOBAL_PER_MINUTE: 0