<?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
•1498 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
How to Save Screenshot from Browsershot
1 year ago

How to log with parameters in Laravel 8
1 year ago

How to Validate Password in Laravel Using Rule
1 year ago

How to Check If Relationship Exists In Laravel 8
1 year ago

How to pass boolean in Laravel through URL
1 year ago

How to Launch Android Emulator on New Window / Separate Window
6 months ago