Games with Permalinks & Custom Post Types

Community Forums Forums General Discussion Games with Permalinks & Custom Post Types

This topic is: not a support question

This topic contains 4 replies, has 2 voices, and was last updated by  Summer 11 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #79804

    Summer
    Participant
    Post count: 1122

    So… I’m being told that WP permalinks for custom post types have a quirk where the permalinks will just stop working and you have to reset the permalinks settings to get them back (just clicking on the permalinks settings page will do this), and I’m being told that this is inherent to WP and has been ever since custom post types were introduced.

    Since I’ve never run into this problem when using custom post types except for a specific case with this specific plugins, I figured I’d ask here, too… has anyone had a problem with custom post type permalinks just disappearing after an update to WP or Genesis or any other plugin?


    #80257

    Marcy
    Participant
    Post count: 383

    Yes, you do have to manually flush permalinks sometimes, not often but sometimes.


    #80331

    Summer
    Participant
    Post count: 1122

    Eight years of working with WordPress, and this is news to me. So now my next question is why… I understand why they might get flushed for a plugin update, but not for a core or framework update, and they most certainly should be reset afterwards.

    Needing to manually flush them on a regular basis just sounds inefficient to me. Needing to do it because a plugin might be handling them incorrectly… different story.


    #80394

    Marcy
    Participant
    Post count: 383

    There is no having to do it on a regular basis, only if something gets confused or if new rules are written, like for custom post types or custom taxonomies added. It’s because of rewrite rules with Apache servers.

    Perhaps you can search on flushing rewrite rules in WordPress to learn more.


    #80398

    Summer
    Participant
    Post count: 1122

    I understand about how they work, my question comes from support/dev for a plugin I’m using telling me something different… thus me asking another group of people what they’ve heard or seen in their WP travels. And no, none of my searches turned up any examples of behavior like this, not by a long shot (outside of several of their plugins, that is).

    What you’re saying matches what I’ve read, and what my understanding is, while the plugin’s particular current behavior and the assertion from them that this “loss of permalinks” for all custom post types was a common WP occurrence that we just have to live with does not.

    There’s no reason a plugin update flushing permalinks should force me to go to my Permalinks settings and reset them to regain access to permalinks setup by another plugin. Other plugins I’ve used over the past several years that manage custom post types have been updated, and not one of them has ever caused me to have to reset permalinks globally for the site after an update to make sure all permalinks were still working.


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.