<?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
•153 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 Record Laravel Horizon Metrics (Snapshot)
9 months ago

How to Enable and Disable Debug Mode in Laravel
9 months ago

How to Persist Recent, Pending and Completed Horizon Jobs in Laravel for 24 Hours
3 months ago

Set TailwindCSS Utilities Important
10 months ago

How to check and access environment in Laravel Blade view?
9 months ago

Laravel Visitors Counter
10 months ago