<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
    <title>Magento Issue Tracking</title>
    <link>http://www.magentocommerce.com/bug-tracking/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>MagentoCommerce</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
        <item>
        <title>View Issue #28718 / Mage_Page_Block_Html_Header-&gt;getIsHomePage() is bugged</title>
        <link>http://www.magentocommerce.com/bug-tracking/issue?issue=14724</link>
        <description><![CDATA[<strong>Posted:</strong> 2013-02-13 06:35:06<br/><strong>Category:</strong> Content Management System (CMS)<br/><strong>Version:</strong> 1.5.1.0<br/><strong>Priority:</strong> normal<br/><strong>Status:</strong> new<br/><strong>Reported By:</strong> <a href="http://www.magentocommerce.com/boards/member/26565333/">Praxigento</a></strong><br/><br/>Method Mage_Page_Block_Html_Header-&gt;getIsHomePage() returns 'false' in case of<br />
<br />
http://domain.com/index.php/?___store=de&amp;___from_store=en<br />
<br />
and<br />
<br />
http://domain.com/index.php/<br />
<br />
My solution is:<br />
<br />
public function getIsHomePage()    {<br />
        //return $this-&gt;getUrl('') == $this-&gt;getUrl('*/*/*', array('_current'=&gt;true, '_use_rewrite'=&gt;true));<br />
        $url = $this-&gt;getUrl('*/*/*', array('_current' =&gt; true, '_use_rewrite' =&gt; true));<br />
        if (strstr($url, '?')) {<br />
            $pos = strpos($url, '?');<br />
            $url = substr($url, 0, $pos);<br />
        }<br />
        return $this-&gt;getUrl('') == $url;<br />
    }<br/><br/><hr/>]]></description>
    </item>
    
    </channel>
</rss>