How to Exclude Pages from WordPress Search Results (Step by Step) – Website Tips

Curated by WorkingFromHome

This article is an excerpt from the original article found in the Read More link – please follow for full article.

Do you want to learn how to exclude pages from the WordPress search results?

By default, the internal search on your WordPress site will include all posts and pages in the search results. To make it easier for your site visitors to find what they’re looking for, you may want to exclude certain content, so it never appears in those results.

In this article, we’ll show you how to exclude certain pages from the WordPress search results, step by step.

Why Exclude Pages from WordPress Search Results?

The default WordPress site search includes all of your posts, pages, and custom post types in the search results. This works well enough for many WordPress website owners.

However, if you’re running an online store, then you may want to hide pages like your account page, checkout page, thank you page, and more.

The same goes for those running membership websites or online courses. You may want to hide subscriber-only content from appearing in search.

With that said, let’s show you how to exclude pages from your sitewide WordPress search results.

Note: This guide covers on-site search results, when a visitor to your website uses a search box to search through your website content. If you’re looking to exclude pages from Google search results, then you should see our guide on how to hide a WordPress page from Google.

Create a New WordPress Search Algorithm with a WordPress Plugin

The easiest way to exclude pages from the WordPress search results is by using the SearchWP plugin. It’s the best search plugin for WordPress used by over 30,000 websites.

It’s very easy to use and gives you complete control of your WordPress search results.

First thing you need to do is install and activate the plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, navigate to Settings » SearchWP and then click the ‘License’ menu option.

Then, you can enter your license key into the ‘License’ box and click the ‘Activate’ button. You can find this information in your account on the SearchWP website.

After that, you need to click on the ‘Engines’ menu option.

This takes you to a page where you need to set your default search engine settings. Think of it like creating your own Google search algorithm that’s only for your website.

With SearchWP, you need to create a sitewide search engine before you can start excluding pages from the WordPress search results.

You can change the search engine settings by clicking on the ‘Posts’, ‘Pages’, ‘Media’, and other custom post type drop downs.

Each section has a weight multiplier that will change how the search engine ranks your website’s content.

For example, if you move the ‘Title’ slider down and the ‘Content’ slider up, then the content will hold more value than the title.

You can also completely remove all pages from appearing in the WordPress search here.

Simply click the ‘Remove’ button in the ‘Pages’ section.

This brings up a popup where you need to uncheck the ‘Pages’ box.

Then, click the ‘Done’ button to remove all pages from appearing in search.

After you’re done customizing the default search engine settings, you need to click the ‘Save Engines’ button to create your first engine.

Exclude Specific Pages From the WordPress Search Results

If you only want to exclude specific pages from the search results on your website, then this section is for you.

To do this, we’ll be using the Exclude UI extension from SearchWP. When you’re logged into your SearchWP account, go to the Exclude UI download page and click ‘Download Extension’.

Then, install and activate the extension as you would any other WordPress plugin.

After that, open up the page that you want to exclude from the search results.

Next, make sure the ‘Page’ option is selected in your right hand menu, and simply

For the Full Article
You can Find it Here: How to Exclude Pages from WordPress Search Results (Step by Step)

Commentary:
Some useful news and links can be read on this complete article.
source – WPBeginner.com

You May Also Like…

How to Properly Rename Categories in WordPress (Beginner’s Guide) – Website Tips

How to Properly Rename Categories in WordPress (Beginner’s Guide) – Website Tips

Do you need to rename some categories on your WordPress site? As your site grows, you might need to change the name of some of your categories or merge them with other categories. In this article, we will show you how to properly rename categories in WordPress without affecting your SEO strategies. Why Rename Categories in WordPress? If you’ve recently created a WordPress website, then creating a good organizational structure will make it easier for your visitors to find your content and can help your site rank higher in search engine results pages. That’s why WordPress offers categories and tags. You can learn how to organize your content effectively in our guide on best practices for categories and tags. As you add more content, you may wish to improve the way you organize your posts, and you may decide to rename some of your categories. Let’s have a look at…

How to Clear Your Cache in WordPress (Step by Step) – Website Tips

How to Clear Your Cache in WordPress (Step by Step) – Website Tips

Recently, one of our readers asked us how to clear cache in WordPress? Your web browser, hosting server, and caching plugins can all serve cached content which can make it difficult for you to see the changes you made to your website right away. Clearing your WordPress cache is also the first troubleshooting advice that you’ll often hear. In this article, we will show you how to properly clear the cache in WordPress. We’ll cover browser cache, web hosting cache, and top WordPress caching plugins in this guide. What is Caching in WordPress? Caching solutions will store static versions of your website in a cache. This allows WordPress to skip running heavier PHP scripts every time your site loads. The caching process helps to improve WordPress speed and performance, and the overall user experience. Here’s an example of what the caching process looks like: There are several different types of…

Working From Home TV …

Tips to enhance your own website…

How to Properly Rename Categories in WordPress (Beginner’s Guide) – Website Tips

How to Properly Rename Categories in WordPress (Beginner’s Guide) – Website Tips

Do you need to rename some categories on your WordPress site? As your site grows, you might need to change the name of some of your categories or merge them with other categories. In this article, we will show you how to properly rename categories in WordPress without affecting your SEO strategies. Why Rename Categories in WordPress? If you’ve recently created a WordPress website, then creating a good organizational structure will make it easier for your visitors to find your content and can help your site rank higher in search engine results pages. That’s why WordPress offers categories and tags. You can learn how to organize your content effectively in our guide on best practices for categories and tags. As you add more content, you may wish to improve the way you organize your posts, and you may decide to rename some of your categories. Let’s have a look at…

How to Clear Your Cache in WordPress (Step by Step) – Website Tips

How to Clear Your Cache in WordPress (Step by Step) – Website Tips

Recently, one of our readers asked us how to clear cache in WordPress? Your web browser, hosting server, and caching plugins can all serve cached content which can make it difficult for you to see the changes you made to your website right away. Clearing your WordPress cache is also the first troubleshooting advice that you’ll often hear. In this article, we will show you how to properly clear the cache in WordPress. We’ll cover browser cache, web hosting cache, and top WordPress caching plugins in this guide. What is Caching in WordPress? Caching solutions will store static versions of your website in a cache. This allows WordPress to skip running heavier PHP scripts every time your site loads. The caching process helps to improve WordPress speed and performance, and the overall user experience. Here’s an example of what the caching process looks like: There are several different types of…

0 Comments

Submit a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.