I created a module with a hook_menu()
to redirect every $items[%node]
to drupal_goto('<front>')
. Is it possible to do the same for every alias path and how would I do that?
The background is that it's a one-pager with all nodes displayed only on the <front>
page. No single node should be viewed. Nevertheless every single node has a Facebook Like Button and so has to be like-able/share-able with Facebook. But that's another story, on the whole.
content: path
and rewrite the result with the Facebook div and inserting a path token as URL.