There’s a few pages I’d like to exclude from search results. I know there’s PHP code I can write for the normal WP search, but before I go down that route I’d like to hear your recommendation.
I can classify what to exclude by the specific page, but I also have everything in a directory (set by the page’s parent). There’s also categories, or post types, etc.
Before I started coding I found this plugin, Search Exclude.
What I see, at least so far, is this isn’t excluding the page seen by the public on the web site. Actually, it’s filtering out those pages from the admin while searching for a page to edit in the WP editor. Exactly the opposite of what I was expecting.
How do I exclude pages from Better Search results?
- The topic ‘How to exclude results from search’ is closed to new replies.