Add noindex tag into comments RSS FEED page (/feed)
I have a problem. RSS is enabled and I get such a pages:
this /feed page is for comments rss
and the problem is it appears in google’s supplemental SERP
of course I do use robots.txt and have /feed in disallowed section
google can see it I get “A description for this result is not available because of this site’s robots.txt – learn more.” in snippet
so I don’t wanna see this pages in SERP. What should I do?
I have an idea to add meta tag “noindex” to this /feed page but have no idea how to figure it out..
When I add
<meta bla bla bla>to my feed-rss2-comments.php this /feed page stops working
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />but it didn’t succeed, no error but no tag in source code…
how can I add metatag or just turn off rss comment feed? if it’ll return 404 it will be ok too, I don’t wanna use it, I need only main rss
- The topic ‘Add noindex tag into comments RSS FEED page (/feed)’ is closed to new replies.