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

    (@tw2113)

    The BenchPresser

    Honestly not sure what’s going on there, and it sounds very much like an issue with Yoast SEO’s preview stuff more than CPTUI, especially if the url when actually visiting the post, is accurate and the way you are wanting it.

    CPTUI itself does nothing in regards to content, we simply handle the registration for use elsewhere.

    i have the same issue. I create plugin with 3 custom taxonomy and one custom post type. I need URL like this:

    https://example.com/new-york/footdball/club/something-something-something

    Generaly

    https://example.com/%city%/%sport%/%institution%/%custom-post%

    and Yoast not recognize that. Is there exists some filter to solve this?

    Thanks!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    No filter by our plugin that would take care of this type of thing specifically. All that CPTUI ultimately does is gather arguments for the register_taxonomy() function in this case. How other plugins handle what’s registered is generally out of our hands.

    As far as I can see, a URL structure like that is going to take some tinkering with the rewrite API to get that many terms in the permalink. As is, I believe it’d be considering them all child terms of a parent “city”. I may be wrong though, in regards to how it evaluates the URL in the end.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom post type permalink is not showing in Yoast Snippet preview’ is closed to new replies.