I was just checking my Google webmaster tools and I see, it has warned me about 120 duplicate content titles from the k2 items only.
When I checked, I see this,
d.pr/i/pPDQ
How do we stop google from indexing those print=1&tmpl=component URLs ?
Whats the code to be placed for robots.txt, so that no articles or k2 items should let google index those type of URLs.
Im using a 3rd party JA T3 template which has its own k2 template file.
But I checked that template file too and I see the rel-nofollow is perfecty intact for the print page.
Here is the code I see,
<?php if(JRequest::getInt('print')==1): ?>
<!-- Print button at the top of the print page only -->
<a class="itemPrintThisPage" rel="nofollow" href="#" onclick="window.print();return false;">
<span><?php echo JText::_('K2_PRINT_THIS_PAGE'); ?></span>
</a>
<?php endif; ?>
When I checked, I see this,
d.pr/i/pPDQ
How do we stop google from indexing those print=1&tmpl=component URLs ?
Whats the code to be placed for robots.txt, so that no articles or k2 items should let google index those type of URLs.
Im using a 3rd party JA T3 template which has its own k2 template file.
But I checked that template file too and I see the rel-nofollow is perfecty intact for the print page.
Here is the code I see,
<?php if(JRequest::getInt('print')==1): ?>
<!-- Print button at the top of the print page only -->
<a class="itemPrintThisPage" rel="nofollow" href="#" onclick="window.print();return false;">
<span><?php echo JText::_('K2_PRINT_THIS_PAGE'); ?></span>
</a>
<?php endif; ?>