Support › MB Custom Post Type › Custom Post Type URLs redirect to home page.
Hi MB Team,
I'm having an issue where all of the links for my CPT redirect to the home page. You can check out the sub-menu items in "Services" on https://dev.seoullegalriskmgmt.com/. They all just go to the home page. Any ideas?
Can you please share the code that creates the CPT on your site? Do you use any redirecting snippets or plugins?
You can also follow the step Debugging Information here to troubleshoot this issue https://support.metabox.io/topic/how-to-create-a-new-topic/
So I tried for a while myself, and compared the PHP code of that one to one that was working - and found out that "Publicly queryable" was unchecked! Checked it off and it works.
Thanks for pointing me in the right direction Long.