I have a WP based site with a lot of pages based on custom post type. But I see a lot of 404-links in the Google Webmasters finished with /feed. It looks like default WP function, when WP adds /feed to any page and this should return history in RSS format. This is good. So my question is:

How I can make “…/feed” links working and show XML for comments on these special post type pages?

For example, my real page http://viva-games.ru/game/classic-japanese-monster-castle-2/feed returns 404, when http://viva-games.ru/game/classic-japanese-monster-castle-2 returns a page with comments. How I can make RSS link working and returning a page with XML with comments list?

Thanks.

2 Answers
2

There seems to be a problem with the custom post type feed support when has_archive is false.

Check for example these tickets:

  • #16415 Don’t require CPTs to have archives in order to have feeds
  • #24867 Feeds for custom posts type can not be set independently of has_archive and supports => comments

So regarding the native support, it looks like you might have to settle for has_archive as true, while these tickets are open 😉

Leave a Reply

Your email address will not be published. Required fields are marked *