• Resolved khomel

    (@khomel)


    The page I specified should be forwarding to https://reputationpartners.com/team/nick-kalm/, but it is not. I have another CPT done the same way with CPTUI and it does forward properly. Basically, my CPT is showing up without the /team/ slug, showing on single.php instead of appearing on the /team/ slug only. It shows up on both, and I’m not sure why. I appreciate any help!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What post types have you registered, and also do you have a PAGE with the same slugs?

    From what I can see, this url: https://reputationpartners.com/nick-kalm/ is actually leading to an attachment url, for the wp-content/uploads/2017/10/Nick-Kalm.jpg image.

    It’s not a common collision of sorts, but it can definitely happen since media library items are technically part of the “attachment” post type.

    The first URL presented looks like a post for Nick in a “team_member” post type.

    Thread Starter khomel

    (@khomel)

    I do have pages with the same slug for both of my CPTs, /team and /our-work. It works as intended with our-work, but not with team. And yes, the team_member post type with the custom slug of team is the proper display.

    I see. I didn’t know images had their own permalinks. I guess I just never had a need for it. But that is exactly what is happening. Media attachment url.

    It appears I cannot change the permalink for those attachments. I’m going to research this now, but do you have any quick advice on how to handle this in the meantime?

    Thank you so much for your help!

    Thread Starter khomel

    (@khomel)

    Upon some quick research, I see that I can redirect media attachments to parent posts in Yoast, and I can also attach unattached images to posts/pages in the media library. Done, and resolved! Thank you so much again for your help, Michael.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    You’re welcome. Glad I could provide some leads on the issue sources. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rewrite not triggering?’ is closed to new replies.