Viewing 2 replies - 1 through 2 (of 2 total)
  • yoast WordPress seo plugin can do that.
    there is an option to set noindex for archive pages in the header meta.
    it can be adjusted for category, tag and custom post type archives

    Found this code to be replaced <?php query_posts(‘category_name=Blog&showposts=10’); ?>

    by this

    <?php
    if (have_posts()) {
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(“category_name=Blog&paged=$paged”);
    }
    ?>

    the only problem I have not idea if it works as I do not know which file to modify nor could I find that code in my php WP files.
    I have set these pages on my NZ site to noindex/nofollow the homepage /page/2 has been indexed by Google.
    So I would like to delete /page/2 rather than hide it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove /Page2/ etc from being indexed by google?’ is closed to new replies.