The Hide from Search plugin allows you to hide individual WordPress pages from search engines and/or WordPress search results.
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 can’t have people who perform a search for the title of your whitepaper finding it in search. The solution? Download this plugin and hide your download page from WordPress search as well as search engines!
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 4.7 or greater
- Requires PHP version 5.6 or greater
The Easy Way
- In your WordPress admin, go to ‘Plugins’ and then click on ‘Add New’.
- In the search box, type in ‘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!
Contributors & Developers
“Hide from Search” is open source software. The following people have contributed to this plugin.Contributors
- Version bump to fix automated release process.
- Fix issue with wp-forge/container package not being compatible with PHP versions older than 8.0
- Minor maintenance release
- Fix PHP notice when Yoast SEO is active
- General security updates for dependencies.
- Fix issue where posts were hidden from users when searching within the WordPress admin area.
- Bugfix: Function _wp_register_meta_args_whitelist changed to _wp_register_meta_args_allowed_list in WordPress 5.5.
- Implemented ability to hide from search engines as well.
- Tested in WordPress version 5.4
- Tested in WordPress version 5.3.2
- 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