To do this go to catalog/includes/filesnames.php and add;
CODE
define('FILENAME_HOME', '/');
CONTINUE BUTTON
To change the buttons search your site for;
CODE
<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?>
And replace with;
CODE
<?php echo '<a href="' . tep_href_link(FILENAME_HOME) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?>
The only change being DEFAULT changed to HOME. There are not many instances of this so it is easy to do, I found none in the admin side so a site search and replace should be okay.
BREADCRUMB TRAIL
To change the breadcrumb trail open catalog/includes/application.top and find;
CODE
//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
And replace with;
CODE
//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_HOME));
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_HOME));
That's all. This will take the file index.php out of your file names and so all pages will link back to your main domain (www.yoursite.com/) and avoid any chance of SE's seeing it as duplicate page content.
Thanks to misterbling for the tip, much appreciated.
Peter

