Hello all, i am trying to implement a redirect page and i am not sure how to Redirect on an external link.
Is it possible? or am i thinking wrong? I am aware of the Redirector::away here http://laravel.com/api/5.0/Illuminate/Routing/Redirector.html#method_away but i am not sure how it would work
And help on this?
Thanks in advance
i tried
redirect($url);
but it doesn't do anything :s
I usually do this:
return Redirect::to('http://www.externalsite.com');
If not maybe using away instead:
return Redirect::away('http://www.externalsite.com');
I also added a use on top:
use Redirect;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community