Support » Plugin: Custom Post Type UI » Taxonomy Archive pages disappeared

  • Resolved antonie7

    (@antonie7)


    Hello,

    Recently I updated my site to WordPress 4.9. After updating I encountered an issue with the archive pages of my custom post types. The custom taxonomy slugs seem to have disappered. Please view my earlier post (where I forgot to mention that I use the CPT-UI plugin).
    Any ideas?

    -antonie7

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do you still have all the settings present in your CPTUI settings area? Are the term lists still showing up in the menu for the associated post types, etc in your admin? Perhaps clarification of what you mean by “disappeared”? What slugs did you choose for them, in case something now conflicts there.

    Thread Starter antonie7

    (@antonie7)

    Hi there,

    Thanks for your reply. In the CPT UI admin area, nothing seems to have changed after the update (all taxonomies still exist, with all the correct settings, like ‘has archive=TRUE’).
    So, I have a custom post type called ‘Projecten’ that has an archive page: ‘http://dbpubliekeruimte.info/projecten/‘. For example, a category within ‘Projecten’ is called ‘Straten & Pleinen’ (slug: ‘straten-en-pleinen’). So, the archive page for this category was http://dbpubliekeruimte.info/projecten/straten-en-pleinen/‘. All those ‘sub-archives’ so to speak, worked fine up to WordPress 4.8.
    Clicking the link to the category on the page after updating to WordPress 4.9 did not work anymore… I figured the link was broken in some way, so I entered the URL manually. Then, a 404 error occured. Tried all of the categories, none of them worked. That means that, for some reason, the entire URL for all of the custom taxonomy archive pages disappeared. I still have no clue what could cause this weird problem…

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you provide a URL example of one of the terms in this taxonomy, that you reach when you view the given archive via the WP Admin ?

    For example, when you visit https://mysite.com/wp-admin/edit-tags.php?taxonomy=category and you hover over one of the terms, there’s a “view” link that appears. That’ll tell you where WordPress believes the archive urls should be at the moment.

    Thread Starter antonie7

    (@antonie7)

    Thanks for the tip! I seem to be able to reach the taxonomy pages via the WP admin. The taxonomy ‘Straten & Pleinen’ (slug: straten-en-pleinen) redirects me to the following URL:
    http://dbpubliekeruimte.info/project/projectcategorie/straten-en-pleinen/
    So, the permalink changed, as well as the archive page title (the taxonomy title doesn’t show up, so you can not see wich taxonomy you’re looking at..)

    Now, the final issue I have to resolve is why all the taxonomy links throughout the site are broken and why the URL’s have changed… For now, I’ll add the links manually so that the users can reach the taxonomies. I think the plugin works fine though… Thanks again

    -antonie7

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hard to say, because as far as I can recall, the taxonomy term archives by default don’t include the post type slug they’re associated with. I usually get asked the other way around, how can we add the post type to the url. Somehow you managed that without wanting it 😀

    Let us know if you need anything else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Taxonomy Archive pages disappeared’ is closed to new replies.