WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Category slug change feed bug?!?

[Resolved] Category slug change feed bug?!?

  • When I changed my category slugs I still see all the old posts on the category listing page at the new URL, but the feeds are empty except for the few posts I’ve published since the slug changes.

    For example:
    Category: “Cat One” slug changed from “cat-one” to “cat_one”
    /category/cat-one/ now 404s, good
    /category/cat_one/ shows all posts formerly visible at above URL, good
    BUT
    /category/cat_one/feed/ shows no post entries! VERY BAD!

    With a little snooping I found the new slugs stored in the wp_terms table but the category_nicename column in the wp_category table still had the old slugs. Is this an issue anyone else has seen?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Argh!

    I just posted a new article to “Cat One” and it shows up in the category page AND the feed. So now the category page shows all legacy posts plus the new post, but the feed only shows the new post. Is there a difference in the way WP queries the DB for category posts? Why expose the ability to change category slugs if it screws everything up so badly?

    The recap:
    /category/cat-one/ Apache 301 to new cat URL
    /category/cat_one/ shows all posts formerly visible at above URL, good
    BUT
    /category/cat_one/feed/ shows only newest posts, all older posts missing from feed.

    Halp? Anyone?

    Hrm. I was looking at the main query that builds the cat post page and compared it to the main query that builds the feed page and noticed a JOIN on a table created by a poorly built plugin. Disabling the plugin solved the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Category slug change feed bug?!?’ is closed to new replies.