How to restrict direct access to the nodes but just allow views to access the required field of the particular node type, for example in views slide show we are sliding the image field belongs to particular node type. But we don't want search engines to access & visitors to access the nodes belong to that node type
migrated from stackoverflow.com Sep 11 '11 at 5:11
This question came from our site for professional and enthusiast programmers.
A simple solution would be to not publish the nodes you don't want to be accessible. Views can still pull the data from those nodes.
|show 7 more comments|
Restrict Node Page View seems a better way to restrict the direct access to any nodes of specific content type.
Usage is also fairly simple you just need to enable this module and configure the permissions for the nodes which are directly accessible as normal.
Have you ever used a slideshow nodetype that you need to be published but don't want the node be accessible by itself using then node/XXX path? This module is for you!
With this module you can disable direct access to node pages (node/XXX) based on nodetypes and permissions.
Enable the module and don't forget to configure your permissions.