QUESTION: How to remove or disable custom post type’s archive page?
I have created survey plugin, the survey questions will be a custom post type. How can I make the archives page for my CPT be disabled?
For instance, when I edit the URL:
http://localhost/wordpress/survey/surveyquestion1
to
http://localhost/wordpress/survey
it displays all the questions which I don’t want to happen.
I have solve my problem myself. I found discussions on WordPress development. This one works Removed custom post type archive page shows blog page.