WordPress.org

Ready to get started?Download WordPress

Forums

Preventing certain pages and posts from being searchable (4 posts)

  1. WebDev22
    Member
    Posted 1 year ago #

    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?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

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

  3. WebDev22
    Member
    Posted 1 year ago #

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

  4. WebDev22
    Member
    Posted 1 year ago #

    Private visibility seems to do the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags