Is it possible to stop google from indexing tag pages ?

GK User
Mon Jul 27, 2015 4:30 pm
Hello,

I am using the tag functions in k2 and when I check what google indexes from my website I see that it also indexes pages such as : http://www.yourwebsite.com/web-design/i ... ATION.html

in item.php (line 298) I tried doing the following to stop google from indexing tag pages as follows:

<li> <a rel="nofollow" href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a> </li>

I added rel="nofollow" but it seems this isn't working.

Am I missing something ?
I basically don't want any links indexed by google which has the word "/tag/" in it, I just want my normal links to my pages, and no tag pages indexed.
User avatar
Junior Boarder

GK User
Mon Jul 27, 2015 6:35 pm
hi,
understand one rule, google do what he wants.
maybe unique metatags with no index will help, but ... this is job for php programmer.
User avatar
Platinum Boarder


cron