Using only custom post types results in 404 on RSS feeds
|Reported by:||heilhard||Owned by:|
I'm working on a site that only uses custom post types and as a result doesn't have any "real" posts. I created an RSS feed + rewrite rules for parts of the site and it works correctly but gives a 404 although the actual content is correct.
How to reproduce:
Remove all posts from a fresh WP install. Register a custom post type. Create a feed that has a query for that custom post type. Write a post in the custom post type. The resulting feed will show the custom post, but will come back with 404 status code. Adding a dummy post in the regular posts section will return the feed status to 200.