Access front page node only by front page link
Assuming you want http://example.com/node/6 to redirect to http://example.com/, I'd take a look at the global redirect module: http://drupal.org/project/globalredirect