While setting up some redirects with the SEO Redirection plugin I noticed a high number of 404s, many of which are to pages that shouldn't exist. Upon further investigation I determined that Wordpress is outputting a <link> tag ending in /feed/ for every post or custom post type on my website, but not pages.

<link rel="alternate" type="application/rss+xml" title="<site name> &raquo; Feed" href="<domain>/feed/" />
<link rel="alternate" type="application/rss+xml" title="<site name> &raquo; Comments Feed" href="<domain>/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="<site name> &raquo; A Beginner&#8217;s Guide to Board Game Terms Comments Feed" href="<domain>/humor/a-beginners-guide-to-board-game-terms/feed/" />

I found an old post on Moz.com that talked about this issue and mentioned a way to fix it, but that way doesn't appear to be available any longer. I've looked through Yoast's settings and searched all over Google, but there's so many results for "feed" that it's difficult to find something meaningful. To be clear I'm not saying this is Yoast's doing...just that the Moz article indicated it was a setting in Yoast.

  1. My main goal is to get that 3rd link tag removed because it's returning a 404.
  2. My secondary goal is to get the comments feed removed; mostly because it's somehow not returning comments.

Is there some setting in Wordpress itself that is somehow outputting these links?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.