Redirect node type to a view I have created a view that lists all the nodes of a certain type. If you go to view the node on it's own page I would like it to forward to my view. I tried doing this using rules but as I display the full nodes in my view it created a loop. I could give all my nodes a /nodetype/title path if I can set up some wildcard redirect.
Assuming you have a pathauto setting, such as, "the-base-from-the-auto-setting/[nid]", and all of these nodes use the automatic alias and not a custom alias, you can implement hook_init() in a custom module:

function mymodule_init () {
  $path = drupal_get_path_alias(request_uri());

  if (strpos($path, "/the-base-from-the-auto-setting/") !== false) {
    drupal_goto("/the-path-of-the-view/", NULL, NULL, 301);
    exit;
  }
}


Note that drupal_goto() calls exit on its own, but I keep the exit there as a reminder.

The above is untested, but modified from a code snippet that I frequently use that does a drupal_not_found().  See http://drupal.org/node/846930#comment-3451328 for more details.