WordPress outputs with /feed/ URL for every article
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> » Feed" href="<domain>/feed/" />
<link rel="alternate" type="application/rss+xml" title="<site name> » Comments Feed" href="<domain>/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="<site name> » A Beginner’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.
- My main goal is to get that 3rd link tag removed because it’s returning a 404.
- 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?
Leave an answer