WordPress.org

Support

Support » How-To and Troubleshooting » Preventing certain pages and posts from being searchable

Preventing certain pages and posts from being searchable

  • WebDev22

    @webdev22

    How can we prevent certain pages and posts from appearing in WP search results? We have some pages/posts with obsolete information, but are not quite prepared to delete them yet. I read about a way to possibly achieve this, but it requires editing the functions.php file. Is there a way to do this through the admin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Edit each Post or Page and reset each Posts/Page’s status back to Draft or Pending Review.

    WebDev22

    @webdev22

    That was my first suggestion, but for some reason, I’m told that’s not an option.

    WebDev22

    @webdev22

    Private visibility seems to do the trick.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preventing certain pages and posts from being searchable’ is closed to new replies.