Welcome to WebmasterWorld Guest from 54.211.101.8

How to stop Google from indexing page 2,3,4?

   
1:28 am on Aug 11, 2010 (gmt 0)



Hello,

Very simple, I want Google to follow but not index pages 2,3,4 of my sites blog and categories pages.

currently,

Google indexes

domain.com/blog/page2 domain.com/blog/page3 etc

domain.com/category/page2 domain.com/category/page3

I just want domain.com/blog domain.com/category indexed.

Whats the fix?
5:22 am on Aug 11, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simple fix:

Add The Meta Robots Tag with attributes

no índex, follow

to The pages that you dont want indexed
7:53 am on Aug 11, 2010 (gmt 0)

WebmasterWorld Senior Member sgt_kickaxe is a WebmasterWorld Top Contributor of All Time 5+ Year Member



follow is the default behavior so noindex is all you need.
8:40 am on Aug 11, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I prefer to use the complete directive and as a best practice use The Meta Robots tag on all pages in full

Index, follow on all pages As default

no index, no follow or no index, follow on pages I dont want indexed
8:45 am on Aug 11, 2010 (gmt 0)



why would you not want your old posts in a particular category to be indexed ?
4:41 am on Aug 13, 2010 (gmt 0)



@ maurice

Because it comes up as duplicate title tags. In Google webmaster tools I try my best to follow html suggestions. This was one suggestion.

@anyone reading, would this work if I put this in the header script in your opinion:

<?php if ( is_paged() ) { ?>
<meta name="robots" content="noindex,follow" />
<?php } ?>

I don't want to have to keep updating the robots tag with page 16, then page 17.

Thanks!
1:05 pm on Aug 13, 2010 (gmt 0)



ah you cant you make the pages have diferent titles add page 1/n to the end?

I am just testing this solution to make page titles more destinct for a large uk site that has a directory eement to it.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month