# Option to enable search for logged in users only?

**URL:** https://meta.discourse.org/t/option-to-enable-search-for-logged-in-users-only/256772
**Category:** Feature
**Tags:** search
**Created:** [March 2, 2023, 5:24am UTC](https://meta.discourse.org/t/option-to-enable-search-for-logged-in-users-only/256772 "2023-03-02T05:24:14Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [September 4, 2026, 11:30am UTC](https://meta.discourse.org/t/option-to-enable-search-for-logged-in-users-only/256772/14 "2026-09-04T11:30:52Z")

</div>

> [@nat](#):
>
> I wonder if `allow_anonymous_search` disabled should show still show the search text box (that doesn’t work) and encourage the user to sign up/log in. However, I don’t think that should stop this PR from being merged.

Agree, that would make sense to do. Also agree it shouldn’t block the PR you created here. And you’ve got this bit already, which helps:

> When set to false, anons going to `/search` will be sent to the login page.

Looks sufficient to address this request as a first step.

---

_[View the full topic](https://meta.discourse.org/t/option-to-enable-search-for-logged-in-users-only/256772)._
