• I have a few pages on my blog that I do not want to show up even if a visitor puts a search term in the search box which is contained on that page (the page has advertising on it and I don’t want it to show when someone is looking for content). How can I make one of my pages “invisible” to the search tool?

    Thanks!

    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try editing search.php within your theme and, immediately after <?php while (have_posts()) : the_post(); ?>, adding <?php if( is_page('Page Title') ) continue;?>

    Thread Starter mbritt

    (@mbritt)

    thx. I’ll give this a shot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make a page NOT show up in a search’ is closed to new replies.