header location not working in laravel 5.2
<p>I don't know what's going in laravel. It doesn't work using the Header location in php.</p>

<pre><code>$d = "http://www.google.com";
header('Location: '.$d);
</code></pre>

<p>and if I use <strong>Redirect::to()</strong> in my local, nothing happen. Is there something I need to setup first in laravel 5.2? </p>