• Resolved Dylan Houlihan

    (@dylanhoulihan)


    I have no clue what is causing this. Whenever I update a taxonomy term (whether categories or a custom taxonomy term), many of the posts/pages/archives on my site go 404. I then have to flush permalinks to get things back to normal.

    This only happens when I modify a taxonomy term through the EDIT screen. Creating a taxonomy term doesn’t cause the problem. Editing the description or parent term from the EDIT screen causes the problem.

    Has anyone had a similar issue? I don’t even know where to start to debug this…

    Any help would be greatly appreciated.

    • This topic was modified 2 years, 1 month ago by Dylan Houlihan.
    • This topic was modified 2 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Dylan Houlihan

    (@dylanhoulihan)

    Update: I recreated the issue on a staging site for further inspection.

    As you can see, pages (start here, homepage, about, contact) still work. So do posts for some reason.

    However, archives (for categories, custom taxonomy terms, and custom post types) as well as custom post type posts are all 404.

    Weirdly enough, it took a bit to get it fully broken. At first, some archives weren’t 404ing after an update. Then they would 404, but an additional update would fix everything.

    Thread Starter Dylan Houlihan

    (@dylanhoulihan)

    Update 2: I think I finally figured it out after a LOT of deactivating plugins, changing plugin settings, and general troubleshooting.

    It seems that the plugin I was using to deactivate certain plugins in certain areas of my site (to improve site speed) was causing it. I changed those rules to only deactivate plugins for non-logged-in users and the issue seems to be fixed. Will update further if anything changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posts and taxonomy term archives 404 after editing a taxonomy term’ is closed to new replies.