Wordpress - Hide a page when a user try to navigate to it writing the URL -
example: created custom post type "movie". added links of movie posts in nav menu, , it's ok if user navigates post writing in browser url (like www.site.com/movie/apocalypse-now
) don't want user navigates page www.site.com/movie
(that lists movies). there way hide page?
why not register has_archive false in register_post_type() function?
would solution if want disable post type archive.