I'm building a website, where I don't want to display nodes directly. All nodes are presented using Views. The idea is that i've got 10 basic pages without content. On each of these page I've got one or more Views as blocks. In these Views i show my nodes.
THE PROBLEM: When I use drupal search I get results with direct links to nodes. Instead I would like get links to pages where the View is located, containing that node. I can easily achieve that by changing alias to page with that View. For example: I've changed alias content/function-one to /functions (page with View which presents functions) and it works, but there are another problems there.
First, I can still access nodes directly by url /node/%nid.
Second, I can have links only to pages with Views, but I still want to navigate to the nodes. I thought I can achieve it using anchors. I modified my alias to /functions#functionOne. But my href looks like /functions%23;functionOne and the anchor doesn't work.
So my goal is to disable access to nodes by /node/%nid and make my search results to give me link to the page that contains View with that node and navigate user to that node.
Any ideas how I can achieve that? Alternative approaches?
Thanks in advance