gilles
April 10, 2026, 10:47am
1
I wanted to know if there is a parameter in the search function that allows searching only within specific categories. Yes, I know you can do this by typing the category name into the search bar, but I want to make life easier for my users.
Thank you.
You can do this using Advanced Header Search . Here’s a sample config:
Below is an example of what I did inside our Gitlab Category. You can see in our header search bar that as soon as we type a search term(in this case pipeline) you can search the gitlab forum(clicking comments button), the gitlab docs(book), the gitlab project(ticket), and gitlab python libraries.
Below is an example of the params which lets you search the gitlab forum.
1 Like
gilles
April 10, 2026, 11:42am
3
Thanks for the info, but I don’t want to do an external search; I only want to search within Discourse, but in specific categories.
That’s exactlywhat i mean. You want to config it with the link for your category and add a “q?=” if i remember correctly. Here’s a sample link from meta: Search results for 'test #support:self-hosting' - Discourse Meta
You need to config it with your category icon.
gilles
April 10, 2026, 12:31pm
5
David_Ghost:
q?=
Ah, okay, I didn’t get it the principle. Thanks for the info, so I’ll dive back into it. Thanks
1 Like