Using robots.txt is probably the simplest way to accomplish this (assuming you’re using pretty permalinks).
User-agent: *
Disallow: /testimonial/
More info if you need it: https://support.google.com/webmasters/answer/6062608?hl=en
If it helps, the plugin also has a filter for excluding testimonials from a front-end search on your site. Add this to your theme’s functions.php:
add_filter( 'wpmtst_exclude_from_search', '__return_true' );
-
This reply was modified 7 years, 5 months ago by Chris Dillon.
Also, some SEO plugins may have settings to add noindex, nofollow
meta tags for specific post types.
Thanks for your reply Chris, I think I’ll implement the robot.txt option.
Shaun