On Sat, Dec 11, 2010 at 8:26 PM, David F. Carr <david at carrcommunications.com > wrote: > I include add_action('admin_init', 'flush_rewrite_rules'); to regenerate > the > rewrite rules whenever a user is logged in. Please don't do that. :-( On plugin activation only.