December 17, 2013 at 1:14 pm #79804
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?
December 19, 2013 at 12:13 pm #80257
MarcyParticipantPost count: 383December 19, 2013 at 4:18 pm #80331
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.
December 19, 2013 at 8:46 pm #80394
MarcyParticipantPost 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.
December 19, 2013 at 10:01 pm #80398
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.
You must be logged in to reply to this topic.