Redirect all subpages back to the front page I am trying to redirect everything that is under example.com/pictures back to the front page (i.e. I am hiding picture nodes to be directly viewable). 

Neither the Pathauto module nor the Global Redirect module allows me to do this (or I am overlooking something). I cannot simply block users from viewing that particular node type.

Is it possible doing this with a module? Should I hack something up? Would an .htaccess rewrite help me?

I am interested in an answer for Drupal 7.
I assume "pictures", is a content type. If that's not the case, this may not work. Please provide more details about your setup in that case.


Install the Chaos tool suite (ctools) module, and enable the Page Manager module 
Enable the node template
Create a variant of type "HTTP response code".
Set the response code to 301.
Set the path to &lt;front&gt;
Go to "Selection rules" in the left menu
Add "Node:type == 'pictures'"
Save