FeedSmith with sitemap.xml
HA! This time I won from technique. FeedBurner FeedSmith plugin redirect all my feeds to a predefined URL, Standard Sitemap Plugin generates a xml like a feed. I see a problem there, don’t you? You want all feeds to be redirected but the sitemap. Here is the solution.
Open FeedBurner_FeedSmith_Plugin.php in your favorite editor. Go to line 111 and change it to:
if (is_feed() && $feed != 'comments-rss2' && $feed != 'sitemap' && !is_single() && $wp->query_vars['category_name'] == '' && ($withcomments != 1) && trim($feedburner_settings['feedburner_url']) != '') {
The part I added is && $feed != ‘sitemap’.
Enjoy your new sitemap.xml.






Awesome. I’ve been looking for a fix for this for a long time. Appreciated.