Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This is actually kind of related to a WordPress bug I think, because permalink paginations arent behaving when you have category in there…

    What exactly is your permalink structure?

    Did it ever work?

    Thread Starter Pratham

    (@pratham2003)

    Our permalink structure is
    /%category%/%postname%/

    The problem was that someone accidentally forgot to set a category.
    So the url which was generated was /uncategorized/some-post-slug/
    After the correct category was set and the post updated, I guess the plugin purged /some-category/some-post-slug/ … So varnish kept serving the original page on /uncategorized/some-post-slug/

    Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    So varnish kept serving the original page on /uncategorized/some-post-slug/

    Now that’s … actually understandable. And I’m not sure I could fix that since WP isn’t always smart enough to know. The old page would (eventually) vanish – maybe in 24-48 hours, depending on how you set up your cache.

    But the page content for somepage/some-post that works fine and updates properly?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Category change use case’ is closed to new replies.