Remove WordPress Feed Links From Header

July 8, 2009 · 11 comments

If, like me, you’re using Thesis, you may find it annoying that WordPress still outputs its default feed links even though you’ve specified a different Syndication/Feed URL under the Thesis Options page.

Thesis Options - Syndication/Feed URL

It turns out there is a very simple solution if you’re using WordPress 2.8 or greater. If you add the following line of code to your custom_functions.php file (or your theme’s functions.php if you’re not using Thesis), WordPress will not add references to the default feed links in the header.

automatic_feed_links(false); 

That’s it! Do you know an easier way to do this? If so, let me know in the comments!

{ 11 comments… read them below or add one }

1 Chapman July 21, 2009 at 9:39 am

I don’t know an easier way. Sorry.

2 xinple July 30, 2009 at 4:29 am

太棒了!找了这么久终于找到了,谢谢!
Amazing!Finally I find this way, thanks!

3 Levi October 22, 2009 at 12:40 pm

Awesome, thanks for the post… it was driving me crazy trying to find were those were coming from.

4 Nati December 8, 2009 at 11:55 am

Thank you very much it worked like a charm.

5 CoreBloggers March 16, 2010 at 2:44 am

very useful post

6 Kevin Bossons March 19, 2010 at 10:18 am

This was a lot harder to find than it should have been searching via google

Thanks so much!

7 Quizzer August 10, 2010 at 3:55 am

Thanks exelent information! 😀

8 Bình December 12, 2010 at 2:02 pm

Finally something that really remove that annoying feed url from my post header. Thanks. (After 6 hours)

9 Didier April 22, 2011 at 5:05 am

By any chance, can you figure out how to leave the global RSS link in the header, while removing the link to comments feed ? Thanks a lot…

10 Bob June 21, 2011 at 9:16 am

That works!! Thanks so much! 🙂

11 wasim December 3, 2012 at 3:39 am

It’s really works great.. Thanks a lot.. 😀

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Previous post:

Next post: