Title: Need Help Diagnosing Permalink Problem Reports
Last modified: August 19, 2016

---

# Need Help Diagnosing Permalink Problem Reports

 *  [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/)
 * I’m having trouble with reports of 404 errors from some but not all users of 
   an event management plugin I created that uses WP3 custom post types. It works
   fine on my system, and those of some other happy customers, but the people who
   are having trouble report they get page not found when they try to click on a
   permalink associated with the post type.
 * I would appreciate any suggestions on how to track down the problem. The custom
   post type is registered as ‘event’ so the permalink structure is /event/%event%
 * At one point I, thought the url parsing routine might be getting confused between
   that and a page on one of the problems sites that was /events/ — based on another
   post I saw that discussed these sorts of problems. Someone said the parser could
   be confused if a similar slug was used in the category hierarchy. But I tried
   changing the post type slug to ‘rsvp-event’ and that didn’t seem to make a difference.
   I had one of the people who was having trouble install it on her site.
 * Below, I’ve included the custom post type setup code and a data dump of the rewrite
   object it creates.
 * The plugin in question is this:
 * [http://wordpress.org/extend/plugins/rsvpmaker/](http://wordpress.org/extend/plugins/rsvpmaker/)
 * The custom post type setup code looks like this:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com)]_
 * BTW, I had one of the people who was reporting problems do the same data dump
   of the rewrite object, and it looked essentially identical. So it’s not that 
   flush rewrite hasn’t run, apparently. She is running WP3.0

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

 *  Thread Starter [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/#post-1808520)
 * This is the plugin code I wanted to post:
 * [http://wordpress.pastebin.com/XesqTBLT](http://wordpress.pastebin.com/XesqTBLT)
 *  Thread Starter [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/#post-1808526)
 * And this is the rewrite rules object data dump I mentioned, which shows that 
   the rules are being created correctly:
 * [http://wordpress.pastebin.com/GYxUssXj](http://wordpress.pastebin.com/GYxUssXj)
 *  [Dalton Rooney](https://wordpress.org/support/users/daltonrooney/)
 * (@daltonrooney)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/#post-1808761)
 * I would be very interested in hearing if you come up with an answer for this,
   because I’m experiencing the same thing with my [FAQ plugin](http://wordpress.org/extend/plugins/q-and-a/).
   I suspect that it’s related to the client permalink structure. I’ll keep an eye
   on this post and follow up if I find anything.
 * Dalton
 *  Thread Starter [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/#post-1808805)
 * I found I had to use a flush_rewrite_rules on initialization of the custom post
   type, at least for some users’ systems. In my RSVPMaker plugin, it’s an options
   preference to run it every time (if you’re having problems with 404 errors) or
   just when the plugin is first activated.

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

The topic ‘Need Help Diagnosing Permalink Problem Reports’ 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/)
 * 4 replies
 * 2 participants
 * Last reply from: [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/need-help-diagnosing-permalink-problem-reports/#post-1808805)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
