Rewrite Point Doesn’t Work on Custom Taxonomy

One thing I noticed is that you’re defining EP_CATEGORIES as a string, however it’s actually a constant (defined in WordPress Core). So for example you should define your ep_mask like so (without quotes):

'ep_mask' => EP_CATEGORIES,

You may need to flush the rewrite rules after making this change.

Leave a Comment