The mPress Hide from Search plugin allows to you hide specific pages from WordPress search.
It isn’t uncommon to have pages on your site that are public, but not intended to be found. Take, for example, a download page where people who have signed up for your email newsletter can download your amazing white paper. You don’t want just anyone to be able to download your white paper, but the page has to be public because people who sign up for your newsletter aren’t going to be logged into your site. You were smart enough to use your favorite SEO plugin and block the search engines from indexing that page, but now you have realized that people who perform a search on your site for the title of the white paper are taken directly to the download page. The solution? Download this plugin and hide your download page from WordPress search!
Using this plugin is simple:
- Install the plugin
- Activate the plugin
- Go to a post you want to hide and check the ‘Hide from search’ checkbox on the bottom right of the screen.
- Save your changes
- Works with custom post types
- No settings page, just a simple, easy-to-use checkbox
- Clean, well written code that won’t bog down your site
If you don’t meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host that supports a more recent version of PHP.
- Requires WordPress version 3.2 or greater
- Requires PHP version 5.2.4 or greater ( PHP version 5.2.4 is required to run WordPress version 3.2 )
The Easy Way
- In your WordPress admin, go to ‘Plugins’ and then click on ‘Add New’.
- In the search box, type in ‘mPress Hide from Search’ and hit enter. This plugin should be the first and likely the only result.
- Click on the ‘Install’ link.
- Once installed, click the ‘Activate this plugin’ link.
The Hard Way
- Download the .zip file containing the plugin.
- Upload the file into your
/wp-content/plugins/directory and unzip
- Find the plugin in the WordPress admin on the ‘Plugins’ page and click ‘Activate’
Once the plugin is installed and activated, go to a post you want to hide and check the ‘Hide from search’ checkbox on
the bottom right of the screen and save your changes. Viola! The post has been hidden!
Plugin uploaded, activated & at the bottom right of the page I want to hide, there’s the ‘Hide this page from wordpress search’ option.
I tick ‘Hide’. Save. Update. The page is still visible in the menu of the site.
Exactly what I was looking for and does exactly what I want. Great Plugin.
Contributors & Developers
“mPress Hide from Search” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Tested in WordPress version 4.7
- Escaped translated strings, for security.
- Converted singleton to static class.
- Updated .pot translation file to include additional plugin information.
- Tested in WordPress version 4.5.2
- Tested in WordPress version 4.4.3
- Tested in WordPress version 4.2.4
- Tested in WordPress version 4.0
- Added additional comments to the code
- Tweaked how translations are loaded.
- Tested in WordPress version 3.5.1
- Deleted MPRESS_HIDE_FROM_SEARCH_VERSION constant and created a public static variable instead
- Fire class on plugins_loaded action instead of on load.
- Added call to load_plugin_textdomain()
- Added MPRESS_HIDE_FROM_SEARCH_VERSION constant
- Made class a true singleton
- Initial commit