Magento 1.9 – Fix Email Newsletter Not Working on Homepage Footer

footermagento-1.9newsletter

I used a custom static block to put newsletter subscribe at homepage footer:

<div class="bottom_blocks_subscribe">
   {{block type="core/template" template="newsletter/subscribe.phtml"}}
<div>

After entering a email address and press submit it just redirects to homepage. No entry is added to Newsletter Subscribers. Any ideas what the issue is and how to fix?

Any help is much appreciated.

Best Answer

Take a look at Magento Newsletter form not working

Try

{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}

The form need to be posted to newsletter/subscriber/new which is define in

Mage_Newsletter_Block_Subscribe

/**
 * Retrieve form action url and set "secure" param to avoid confirm
 * message when we submit form from secure page to unsecure
 *
 * @return string
 */
public function getFormActionUrl()
{
    return $this->getUrl('newsletter/subscriber/new', array('_secure' => true));
}