rewrite rules for hierarchical custom posts
-
I’ve been spending a lot of time on getting hierarchical customs posts to work. It looks like the rewrite rules do not work for that.
The custom post used to be non-hierarchical and that worked just fine. After that I changed it to hierarchical and flushed the rewrite rules. I can see that the rewrite rules have changed.
But… the permalinks do not work anymore (result: 404).
Setting the custom post back to non-hierarchical (and flushing) makes everything work again.
I have set the permalink settings to postname. If I change it to plain all is well for the hierarchical custom post, but plain is not what I want.
I’ve searched the forum but have not found a solution to this.
Is this a known bug? Am I doing something wrong? Any ideas?
- The topic ‘rewrite rules for hierarchical custom posts’ is closed to new replies.