I use a plugin called CPT-onomies to create Custom Post Types. I created a post type called "case", and set "Has Archive Page" to true, but when i try to view a single case, i just get 404'd. Same thing also happens if i try to view the actual archive, eg. "site.com/case" and not "site.com/case/case-item".
Here's a screenshot of my settings: http://i.imgur.com/6rJgdhS.png
I've tried disabling/enablind it, no success. I also tried changing permalink structure of the whole site (from settings -> permalinks) because sometimes that doesn't update.
Have i missed something in the settings or is this a bug in the plugin? I've gone through it several times and i can't find anything that would prevent it from working.
I have a template file called
single.php that should be used. I also tried
single-case.php but that didn't make any difference.
I found a solution here: http://gabrieleromanato.name/wordpress-fix-the-404-error-on-custom-post-types/