How to hide default /node page from viewers. It's useful to do this if you don't use the page. People might access to some unwanted places.
Source code viewer
function hook_menu_alter(&$items) // replace hook with your module machine name { }Programming Language: PHP