Title: Please help diagnose custom post type permalink problem
Last modified: August 19, 2016

---

# Please help diagnose custom post type permalink problem

 *  [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/please-help-diagnose-custom-post-type-permalink-problem/)
 * I’m appealing for help diagnosing a problem with a plugin that uses custom post
   types. This is the worst type of problem to solve – an intermittent one. The 
   plugin is working fine for me and for a couple of other people who have tried
   it. However, I’ve had two people report that they get 404 errors when they try
   click on the permalinks associated with the posts.
 * This is an event management plugin. At one point, I thought the ‘event’ slug 
   I was using for my custom post type might be clashing with categories or pages
   in the permalink hierarchy tagged ‘event.’ However, I’ve changed the slug from‘
   event’ to ‘rsvpmaker’ and that doesn’t seem to have solved the problem.
 * The developer I’ve been corresponding with says it works on one of the WordPress
   sites she is managing but not the other. I haven’t been able to figure out what
   the difference might be. I had her do a data dump of the contents of the $wp_rewrite
   object and confirmed that the array of rewrite directives is being generated 
   properly on the problem system.
 * Any ideas on how to track this down?
 * The plugin is posted here:
    [http://wordpress.org/extend/plugins/rsvpmaker/](http://wordpress.org/extend/plugins/rsvpmaker/)
 * The register_post_type code is here:
    [http://wordpress.pastebin.com/ywJafrx3](http://wordpress.pastebin.com/ywJafrx3)
 * I include `add_action('admin_init', 'flush_rewrite_rules');` so the problem is
   not that the rewrite rules need to be regenerated.
 * Any suggestions about how to figure this out would be appreciated.

Viewing 1 replies (of 1 total)

 *  [ucfknight10](https://wordpress.org/support/users/ucfknight10/)
 * (@ucfknight10)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/please-help-diagnose-custom-post-type-permalink-problem/#post-1810919)
 * check the section on permalinks here: [http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/](http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/)

Viewing 1 replies (of 1 total)

The topic ‘Please help diagnose custom post type permalink problem’ is closed to
new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [rewrite rules](https://wordpress.org/support/topic-tag/rewrite-rules/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [ucfknight10](https://wordpress.org/support/users/ucfknight10/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/please-help-diagnose-custom-post-type-permalink-problem/#post-1810919)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
