Ever spotted the RSS icon in your browser's address bar on sites like WPBeginner? That's RSS auto-discovery making it easy for visitors to subscribe—and introducing RSS to those who haven't tried it yet. Many WordPress themes overlook this powerful feature, but as experienced site owners know, it's essential for growing your audience. In this straightforward tutorial, we'll show you exactly how to set it up.

Open your active theme's header.php file and add the following code just before the closing </head> tag:
<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'); ?> Comments RSS Feed" href="<?php bloginfo('comments_rss2_url'); ?>" />Leading industry sites use this method to encourage subscriptions and retain readers. Double-check your header.php file—if the code isn't there, add it today. Pro tip: For tracking RSS subscribers, redirect your feeds to FeedBurner.