Do you wish to discover ways to exclude pages from the WordPress search outcomes?
By default, the inner search in your WordPress web site will embrace all posts and pages within the search outcomes. To make it simpler in your web site guests to seek out what they’re in search of, you could wish to exclude sure content material, so it by no means seems in these outcomes.
On this article, we’ll present you easy methods to exclude sure pages from the WordPress search outcomes, step-by-step.
Why Exclude Pages from WordPress Search Outcomes?
The default WordPress web site search consists of all your posts, pages, and customized put up varieties within the search outcomes. This works properly sufficient for a lot of WordPress web site homeowners.
Nevertheless, for those who’re working an on-line retailer, then you could wish to disguise pages like your account web page, checkout web page, thanks web page, and extra.
The identical goes for these working membership web sites or on-line programs. Chances are you’ll wish to disguise subscriber-only content material from showing in search.
With that stated, let’s present you easy methods to exclude pages out of your sitewide WordPress search outcomes.
Observe: This information covers on-site search outcomes, when a customer to your web site makes use of a search field to look by your web site content material. In case you’re seeking to exclude pages from Google search outcomes, then you must see our information on easy methods to disguise a WordPress web page from Google.
Create a New WordPress Search Algorithm with a WordPress Plugin
The simplest method to exclude pages from the WordPress search outcomes is through the use of the SearchWP plugin. It’s the finest search plugin for WordPress utilized by over 30,000 web sites.
It’s very simple to make use of and provides you full management of your WordPress search outcomes.
Very first thing it’s essential do is set up and activate the plugin. For extra particulars, see our step-by-step information on easy methods to set up a WordPress plugin.
Upon activation, navigate to Settings » SearchWP after which click on the ‘License’ menu choice.
Then, you’ll be able to enter your license key into the ‘License’ field and click on the ‘Activate’ button. You could find this data in your account on the SearchWP web site.
After that, it’s essential click on on the ‘Engines’ menu choice.
This takes you to a web page the place it’s essential set your default search engine settings. Consider it like creating your personal Google search algorithm that’s solely in your web site.
With SearchWP, it’s essential create a sitewide search engine earlier than you can begin excluding pages from the WordPress search outcomes.
You possibly can change the search engine settings by clicking on the ‘Posts’, ‘Pages’, ‘Media’, and different customized put up kind drop downs.
Every part has a weight multiplier that can change how the search engine ranks your web site’s content material.
For instance, for those who transfer the ‘Title’ slider down and the ‘Content material’ slider up, then the content material will maintain extra worth than the title.
You can too utterly take away all pages from showing within the WordPress search right here.
Merely click on the ‘Take away’ button within the ‘Pages’ part.
This brings up a popup the place it’s essential uncheck the ‘Pages’ field.
Then, click on the ‘Finished’ button to take away all pages from showing in search.
After you’re finished customizing the default search engine settings, it’s essential click on the ‘Save Engines’ button to create your first engine.
Exclude Particular Pages From the WordPress Search Outcomes
In case you solely wish to exclude particular pages from the search outcomes in your web site, then this part is for you.
To do that, we’ll be utilizing the Exclude UI extension from SearchWP. Whenever you’re logged into your SearchWP account, go to the Exclude UI obtain web page and click on ‘Obtain Extension’.
Then, set up and activate the extension as you’d another WordPress plugin.
After that, open up the web page that you just wish to exclude from the search outcomes.
Subsequent, be certain the ‘Web page’ choice is chosen in your proper hand menu, and easily examine the ‘Exclude from search’ checkbox.
Then click on the ‘Replace’ button, and that web page will now be
hidden from the search outcomes. Even when your guests enter the precise title of the web page into your search bar, it won’t seem.
If you wish to disguise extra particular person pages from the search outcomes, then merely observe the above steps once more.
To exclude particular weblog posts from WordPress search outcomes, you’ll be able to observe the identical steps above. The one distinction is that the right-hand menu will say ‘Post’ as a substitute of ‘Page’.
We hope this text helped you discover ways to exclude pages from the WordPress search outcomes. You might also wish to see our newbie’s information on easy methods to get a free SSL certificates in your web site and our finest enterprise cellphone companies for small companies.
In case you appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Fb.
The put up Find out how to Exclude Pages from WordPress Search Outcomes (Step by Step) appeared first on WPBeginner.