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

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #196863

    Hey folks, I’m wondering if there’s a way to avoid having two sets of pagination results indexed, ie ?/sf_paged=3 and /page/3 etc.

    The main fear is a duplicate content penalty or at the least a lack of clarity.

    Are there any workarounds here? Even when AJAX is enabled, pagination still still point to ?sf_paged so they’re being indexed.

    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 2 posts - 1 through 2 (of 2 total)