My very first post. First I'd like to say a great big giant THANK YOU to everyone who has made ZenCart the amazing product that it is!

I'm still customizing the site, current location is http://blog.stevebudan.com
My index page and (without extensive investigation) non-category pages all seem to have a "< meta name="robots" content="noindex, nofollow" / >" which I'm thinking is not ideal.

My category and product pages do NOT have the robots meta tag, which is what I want.

The tag seems to come from includes\init_includes\init_add_crumbs.php
near the top around line 20 is this code

PHP Code:
//echo 'I SEE ' . (int)$cPath_array[$i] . '<br>';
    
if ($categories->RecordCount() > 0) {
      
$breadcrumb->add($categories->fields['categories_name'], zen_href_link(FILENAME_DEFAULT'cPath=' implode('_'array_slice($cPath_array0, ($i+1)))));
    } else {
      
// if invalid, set the robots noindex/nofollow for this page
      
$robotsNoIndex true;
      break;
    } 
this sets $robotsNoIndex = true; then in includes\templates\template_default\common\html_header.php
we have

PHP Code:
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
    <meta name="robots" content="noindex, nofollow" />
<?php ?>
which seems to output the robots, noindex tag.

so I don't understand the code completly, I'm not sure what exact condition sets $robotsNoIndex to true, but the condition seems to be if we are not on a category page or one of its sub-pages.


Finally my questions
1) is this the source of the robots, nofollow, noindex tag?
2) if it is how do I get rid of it?
3) if it's not, how can I find where it's coming from, as I would really like all of the site indexed not just the category and product pages.

Thanks in advance!

budanArt
PS
It's not a "test" site. When customization is finished it will be moved to it's permanent home (www.budanart.com).