<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: How to Remove the Feedburner Redirect</title>
		<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect</link>
		<description>Support Forum - Topic: How to Remove the Feedburner Redirect</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 17:58:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-remove-the-feedburner-redirect" rel="self" type="application/rss+xml" />

		<item>
			<title>vinnylabarbera on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-93023</link>
			<pubDate>Wed, 23 Jan 2013 15:36:44 +0000</pubDate>
			<dc:creator>vinnylabarbera</dc:creator>
			<guid isPermaLink="false">93023@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for looking Peter.&#60;/p&#62;
&#60;p&#62;I am going to close this out as everything seems to be an issue with the HubSpot plugin.&#60;/p&#62;
&#60;p&#62;I really appreciate the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92957</link>
			<pubDate>Wed, 23 Jan 2013 08:12:57 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">92957@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; I couldn't find such a symbol (or any code) on line 37. It points to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Feedburner filter URL&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;which is just a php comment and the php code interpreter will ignore it. Maybe contact the plugin author and ask him what causes the error.&#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vinnylabarbera on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92826</link>
			<pubDate>Tue, 22 Jan 2013 13:52:58 +0000</pubDate>
			<dc:creator>vinnylabarbera</dc:creator>
			<guid isPermaLink="false">92826@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks Dude!&#60;/p&#62;
&#60;p&#62;The redirect seems to be gone now.&#60;/p&#62;
&#60;p&#62;Now I am getting an error on my feed though that I need to fix to finish this up.&#60;/p&#62;
&#60;p&#62;Here is the error:&#60;/p&#62;
&#60;p&#62;This page contains the following errors:&#60;/p&#62;
&#60;p&#62;error on line 37 at column 493: EntityRef: expecting ';'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92775</link>
			<pubDate>Tue, 22 Jan 2013 07:50:30 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">92775@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; You can try to delete (or comment out) following line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;template_redirect&#38;#39;, array(&#38;amp;$this, &#38;#39;hs_feed_redirect&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vinnylabarbera on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92768</link>
			<pubDate>Tue, 22 Jan 2013 06:25:50 +0000</pubDate>
			<dc:creator>vinnylabarbera</dc:creator>
			<guid isPermaLink="false">92768@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Found where the redirect is at (in a plugin file).&#60;/p&#62;
&#60;p&#62;Now I just need to figure out how to disable the redirect&#60;/p&#62;
&#60;p&#62;Here is the code for the plugin file:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
class WPHubspotSocial {&#60;/p&#62;
&#60;p&#62;    function WPHubspotSocial() {&#60;br /&#62;
        // FeedBurner Integration Hooks&#60;br /&#62;
        add_filter('feed_link', array(&#38;amp;$this, 'hs_feedburner_feed_link'), 1, 2);&#60;br /&#62;
        if(is_admin()){&#60;br /&#62;
            //&#60;br /&#62;
        } else {&#60;br /&#62;
            add_action('template_redirect', array(&#38;amp;$this, 'hs_feed_redirect'));&#60;br /&#62;
        }&#60;br /&#62;
    }&#60;br /&#62;
    //=============================================&#60;br /&#62;
    // Replace RSS with Feedburner&#60;br /&#62;
    //=============================================&#60;/p&#62;
&#60;p&#62;    function hs_feed_redirect() {&#60;br /&#62;
        global $feed;&#60;br /&#62;
        // Do nothing if not a feed&#60;br /&#62;
        if (!is_feed()) {&#60;br /&#62;
            return;&#60;br /&#62;
        }&#60;br /&#62;
        // Do nothing if feedburner is the user-agent&#60;br /&#62;
        if (preg_match('/feedburner/i', $_SERVER['HTTP_USER_AGENT'])){&#60;br /&#62;
            return;&#60;br /&#62;
        }&#60;br /&#62;
                if (preg_match('/googlebot/i', $_SERVER['HTTP_USER_AGENT'])){&#60;br /&#62;
                        return;&#60;br /&#62;
                }&#60;br /&#62;
        $hs_settings=get_option('hs_settings');&#60;br /&#62;
        if ($feed != 'comments-rss2' &#38;amp;&#38;amp; trim($hs_settings['hs_feedburner_url']) != '') {&#60;br /&#62;
            if (function_exists('status_header')) status_header( 302 );&#60;br /&#62;
            header(&#34;Location:&#34; . trim($hs_settings['hs_feedburner_url']));&#60;br /&#62;
            header(&#34;HTTP/1.1 302 Temporary Redirect&#34;);&#60;br /&#62;
            exit();&#60;br /&#62;
        }&#60;br /&#62;
    }&#60;/p&#62;
&#60;p&#62;    //=============================================&#60;br /&#62;
    // Feedburner filter URL&#60;br /&#62;
    //=============================================&#60;br /&#62;
    function hs_feedburner_feed_link($output, $feed){&#60;br /&#62;
        $hs_settings=get_option('hs_settings');&#60;br /&#62;
        $feed_url=$hs_settings['hs_feedburner_url'];&#60;br /&#62;
        //preg_match(&#34;/rss2&#124;atom&#124;rdf/i&#34;, $feed)&#60;br /&#62;
        if(trim($feed_url) != '' &#38;amp;&#38;amp; $feed!='comments-rss2'){&#60;br /&#62;
            $feed_array = array('rss' =&#38;gt; $feed_url, 'rss2' =&#38;gt; $feed_url, 'atom' =&#38;gt; $feed_url, 'rdf' =&#38;gt; $feed_url, 'comments_rss2' =&#38;gt; '');&#60;br /&#62;
            $feed_array[$feed] = $feed_url;&#60;br /&#62;
            $output = $feed_array[$feed];&#60;br /&#62;
        }&#60;br /&#62;
        return $output;&#60;br /&#62;
    }&#60;br /&#62;
}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vinnylabarbera on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92761</link>
			<pubDate>Tue, 22 Jan 2013 04:59:45 +0000</pubDate>
			<dc:creator>vinnylabarbera</dc:creator>
			<guid isPermaLink="false">92761@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for the response Ismael, but I've already tried that.&#60;/p&#62;
&#60;p&#62;The default feed continues to redirect to the feedburner feed URL.&#60;/p&#62;
&#60;p&#62;Is there anywhere else in the theme where this redirect could be triggering (besides the .htaccess file where it is not in there)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ismael on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92745</link>
			<pubDate>Tue, 22 Jan 2013 03:53:30 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">92745@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi vinnylabarbera,&#60;/p&#62;
&#60;p&#62;Feedburner link is placed here: Propulsion &#38;gt; Theme Options &#38;gt; RSS feed url&#60;br /&#62;
Try to remove the value.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vinnylabarbera on "How to Remove the Feedburner Redirect"</title>
			<link>http://www.kriesi.at/support/topic/how-to-remove-the-feedburner-redirect#post-92736</link>
			<pubDate>Tue, 22 Jan 2013 01:41:17 +0000</pubDate>
			<dc:creator>vinnylabarbera</dc:creator>
			<guid isPermaLink="false">92736@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;An employee of mine accidentally deleted our Feedburner account when trying to fix a feed error.&#60;/p&#62;
&#60;p&#62;In doing so they forgot to select the redirect option upon cancellation so now our Wordpress feed still redirects to the Feedburner URL.&#60;/p&#62;
&#60;p&#62;It seems as though there has to be a way to remove this redirect from our Wordpress site, but I cannot seem to find where this would be. I have checked our .htaccess file and I have made sure that the theme settings are not using the Feedburner URL.&#60;/p&#62;
&#60;p&#62;Any help would be much appreciated. Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
