How to add an autodiscovery feed url to your header

I am the creator of CommentLuv Premium
You can get your own content published on this site as long as you have CommentLuv installed on your site.

Doing so means you get exposure to thousands and thousands of other CommentLuv users and your posts get sent out to the massive subscriber list.

Google loves this site and indexes it multiple times per day and posts always get lots of comments so you can be sure of some excellent exposure.

See the Write For Us page for more details

btw.. you can get this author box here

One thing that can scupper CommentLuv users is when their theme has no autodiscovery feed url entered into their sites header. They have a subscribe to feed by email box and a big ass RSS feed button on the sidebar but those are no good to a robot computer script. All it knows is that your header is bare and there’s no feed there!.

The autodiscovery code

To best ensure that your sites feed is visible to all, especially CommentLuv when it comes calling, you need to insert a bit of code to your sites header. You can tell if it’s there or not by viewing your blog in Firefox browser and looking for the rss icon in the address bar (top image). If it’s there then you have nothing to worry about, if not, just follow the instructions below

This is for adding any feed to your header if you know the url:

WordPress Blogs Default RSS feed

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

Any Blogs FeedBurner Feed

<link rel="alternate" type="application/rss+xml" title="Feedburner Feed" href="" />

For blogpsot blogs

<link rel="alternate" type="application/rss+xml" title="My blogspot posts Feed" href="" />

WordPress 3.0 and up
This is for adding your default feed (the one you get automatically with your wordpress blog)

Open up your themes functions.php and add this code :

<br />
// wordpress 3.0 and up<br />
add_theme_support( 'automatic-feed-links' );<br />

(thanks to @frumph for pointing this out


  1. Hi
    Any Tips on how i can integrate this on my genesis Theme?

  2. mahnoor malik says:

    Hey I have a website i don’t have feed URL of but i have feed url of my blog .I am getting problem with my comments

  3. Thanks for the amazing code bro. It worked like charm! THanksss~!!
    Jafar Dhada recently posted…Whatsapp for PC, Whatsapp for Windows 7/8/XPMy Profile

  4. Thanks for this tutorial. Adding Autodiscovery Feeds in your header is very necesarry if you are using blogger. I found out that my blog doesnt discover on comluv sites until i put this. Thanks
    kyle stevens recently posted…Apply For Google Adsense And Get Approved Instantly – When ToMy Profile

  5. Ooo great share Andy and i think something like this is being used in Commenluv too.So thanks for this gonna use it now.
    Gautam recently posted…Internet Download Manager,Idm Serial Key or Idm Serial Number GiveawayMy Profile

Speak Your Mind


CommentLuv badge