Custom Fields
Re-Envisioned
Support MB Custom Post Type Custom Post Type URLs redirect to home page.

  • Creator
    Topic
  • #29883
    Resolved Steve
    Participant

    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?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29910
    Long Nguyen
    Moderator

    Hi Steve,

    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://metabox.io/support/topic/how-to-create-a-new-topic/

    #29914
    Steve
    Participant

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.