• Hi All,

    Has anyone else noticed the following problem?

    Using a theme that has add_theme_support( 'automatic-feed-links' ); which makes both the main blog feed and main comment feed as well as a single post comments feed links appear in the source head section like:

    <link rel="alternate" type="application/rss+xml" title="My Site ? Feed" href="https://domain.ext/feed/" />
    <link rel="alternate" type="application/rss+xml" title="My Site ? Comments Feed" href="https://domain.ext/comments/feed/" />
    <link rel="alternate" type="application/rss+xml" title="My Site ? Hello World Comments Feed" href="https://domain.ext/2014/06/hello-world/feed/" />

    So far so good but… The problem arises when using a custom post type.

    Whenever the custom post type settings do NOT have

    'has_archive' => true,

    then the custom post type comment feed does NOT exist.

    But the post comment feed link is still there in the page source while the URL returns a 404 page. And subsequently, Google Webmaster Tools starts reporting many 404’s on your site…

    Is this a bug or is there something wrong with my post type?

    Thanks ??

  • The topic ‘Automatic Feed Links and Custom Post Type issue’ is closed to new replies.