<?php return redirect()->away('https://www.google.com');
How to Redirect to External URL in Laravel
Learn how to easily redirect to an external URL in your Laravel application with return redirect helper function
Created on Jan 26, 2022
•4356 views
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to Redirect to External URL in Laravel
PostSrc Code Components
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View ComponentsSponsors 👑
+ Add YoursOther Code Snippets
All Snippets
Laravel Intervention Image Change Driver
2 years ago

How to Check Laravel Version With Command Line
2 years ago

How to integrate Google Analytics 4 with Inertia Js
1 year ago

Flutter Hello World and Number Counter Example
1 year ago

Laravel Custom Command Console Color
2 years ago

How to get base URL in Laravel
1 year ago