We'll create fresh WordPress site with Hide CPT category from URL installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin helps in hiding custom post type category from the url and only shows the actual page name.
Before – https://yoursitelink/custom-post-type-name/postname
After – https://yoursitelink/postname