Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

By default WordPress does not appear to have the option to add rel="nofollow" attributes on the RSS widgets.

<li>
    <a class="rsswidget" href="http://news.google.com/news/url...">
        The 60-Something Entrepreneur
    </a>
</li>

How can I make it so my RSS feed links have the rel="nofollow" attribute?

share|improve this question

1 Answer 1

There seems to be no way to do that. You could filter 'clean_url' (like I did here), but I don't see a simple way to deactivate the filter when the RSS widget is rendered.

You could open a ticket on Trac and ask for a filter in wp_widget_rss_output() … from my experience wasted time, but there is no third option.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.