How To Setup Auto Discover Of WordPress RSS Feeds?

Posted by

Hi,

In order to automaticaly detect the wordpress feeds by any web browser you need to add this code in header.php file of your theme:

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

<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Comments Feed” href=”<?php bloginfo(‘comments_rss2_url’); ?>” />

In many themes first part of the code is already attached. In that case you just need to paste the second part of the code in header.php file.

That’s it!

Thanks,

Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.