I just looked at one of my pligg sites today, loads of supplemental results stopping the stories from ever having a chance of indexing well. Categories and tagging = duplicate story content.
In index.php, added in the following code, near to where pagename is defined:
Code:
$the_page = get_current_page();
if($the_page == 1) {
$main_smarty->assign('indexit', 1);
} else {
$main_smarty->assign('indexit', 0);
} Then added into meta.tpl:
Code:
{if $indexit eq "1" OR $pagename eq "story"}
<meta name="robots" content="index,follow" />
{else}
<meta name="robots" content="noindex,follow" />
{/if} This will only index the home page and story pages, since everything else is duplicate content to the search engines. Story links on non-indexed pages will still be followed though. Some people may say this is too much, but duplicate content will really hurt your rankings, so removing it completely (other than the home page content) should help.
You can always change the code to allow more pages to be indexed, such as user profile pages.