Redirect to google or any other website using magento

I am trying to redirect to using Magento.


But when I use this code I am not able to open my home page too. It shows blank page.

What other code I can use instead of this so I can redirect to


This should do the trick:


Also, in your example you end with a double ), that might be the problem in your code.


Mage::app()->getResponse()->setRedirect($url)->sendHeaders()->sendResponse(); exit();

Need Your Help

Recursively hydrate all related objects in Propel

php propel

Is there a simple way to recursively hydrate all related objects when performing a query?

Adapter notifyDataSetChanged nor working

android adapter notifydatasetchanged

I used notifyDataSetChanged for adapter but my List didn't updated. Here is part of my code.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.