Redirect to another url or website in laravel

Admin   Laravel   119  2021-03-16 08:10:07

Hello Guys,

In laravel many way to redirect to other url,domain and website. but following is the proper way redirecting to external domains. if you have question in laravel redirect to different website. if get this type of error then use following way class 'app\http\controllers\redirect' not found


public function index()


return redirect()->away('/blog');


I hope it can help you...