How do I make the tab display Search Results for the Specfic category?

I noticed that my tab says search results for “” when I searched up a category when I was testing my website
Screenshot:
Screenshot (1)

I was wondering if there was a way could make my tab display the category being searched up.

For example, if I search up “All categories” and the tab displays searched results for “All categories”

Screenshot:

Hi,

This is how it works by default: after selecting a category, it is displayed in the search, as with the All Categories example.

No, I mean why does the tab display just “” instead of the category. Can you tell me a way where I can make the tab display the actual category instead of “”?

Hi,

Please provide more details on where exactly this Search with “” is displayed, as there is no such page on our side, and we will try to help.

Ok, so when I search for a category on my website I notice that the tab literally displays 2 quotation marks instead of the category in the search bar. Is there a way I can make the tab display the category searched for on the Hivepress search bar instead of 2 quotation marks? Also, Do you think these quotation marks are caused because I’m using a local machine to build my website?

Screenshot:

Hi,

Please note that we rely on WordPress search and the default tab title “Search results for + keywords.” if the keywords field is empty, it will be displayed as such. As a workaround, you can use SEO plugins like RankMath (but we’re not sure if it has this setting) or use this code: functions - How to customize search result page title? - WordPress Development Stack Exchange
As a third option, you can ignore this tab, because search engines don’t index these dynamic search pages, and users usually don’t pay attention to what they see in this tab.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.