Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   [SOLVED] noindex possible on paginated pages? (http://forum.bytesforall.com/showthread.php?t=2511)

jankph Jul 18, 2009 02:04 PM

[SOLVED] noindex possible on paginated pages?
 
Is it possible to make my paginated pages 'noindex,follow' for better SEO? I've set tags and category pages to 'noindex,follow' but what about my paginated index pages? Can 'All-in-One-SEO' do it? I'm using the 'more' tag after an opening paragraph on all posts, so duplicate content is not much of an issue anyway, but nonetheless...any suggestions?

Flynn Jul 22, 2009 10:51 AM

You could add this to header.php

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

HTML/CSS Inserts -> HTML Inserts: Header doesn't take PHP code yet or else you'd be able to put the code there

jankph Jul 22, 2009 05:12 PM

Thanks, works like a charm...now on to Google Webmaster Tools to remove the pages...THANKS!


All times are GMT -6. The time now is 03:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.