I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / taxonomy, the url and content pulled up just fine without any issues.

However, I updated to wordpress 4.0 friday and since (might be indirectly responsible, or an updated plugin), it seems that the urls are weird and not pulling the custom post type category.

The "locations" main page with ALL of custom post types comes up fine, and when you click on an individual custom post type, those come in too. However, still when you just try to click on "retail" for example as the category which should pull in the post types for all of "retail" posts that category, it's not doing it and the page is just completely blank... I have PHP error reporting on, but nothing is showing up.

So, to make it more clear what's happening, this link doesn't come up blank without anything at all for the category of my custom post type:


HOWEVER, if you just manually type "locations" as the parent custom post type before the ?, it comes up just fine with all of the posts in that category... http://xmgpreview.com/playtime/locations/?locations_cats=retail

So, I'm not sure what's going on... below is the code I am using for it. Can someone PLEASE help? Not sure why this isn't working any more, and the client wants to go live with the site soon. :?

I'll try to provide the code used for my taxonomy if that helps...

  • Start off by resetting your permalinks by visiting the Settings > Permalinks page. Does that fix it? If not, are the taxonomies still appearing in the dashboard (presumably as child menu items in the Locations submenu?)
    – mrwweb
    Sep 10, 2014 at 1:39
  • Hmm not sure why as I cleared the permalinks before, but that somehow seemed to fix it, as well as disabling, and enabling a few plugins agaiin. PHEW! Sep 10, 2014 at 15:48

1 Answer 1


It appears from your post that somehow the rewrite rules in your .htaccess file were lost/reset/corrupted.

As long as your register_post_type() code remains unchanges, you can visit "Settings > Permalinks" to reset them and fix your issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.