Forums Forums Search & Filter Pro SF Pro pagination and indexing issues

Tagged: ,

Viewing 1 post (of 1 total)
  • Trevor
    #196874

    Would you want the content on those paginated pages not indexed? It is possible to tell bots not to index pages with search and filter query strings on them. You could do this using the functions.php file of your child theme, maybe something like this:

    add_action('wp_head', 'noRobots');
    function noRobots() {
      if(strpos($_SERVER['REQUEST_URI'], '?_sf_s') !== false) {
        echo "\t<meta name='robots' content='noindex, nofollow' />\r\n";
      }
    }

    I think the way the pagination appears will be more ‘normal’ in V3. I can’t be certain, but I think it will be.

Viewing 1 post (of 1 total)