<?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
•3131 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 Specify Specific Columns When Eager Loading Relationship in Laravel
1 year ago

How to Enable Dark Mode Variants in TailwindCSS
1 year ago

Conditionally Include Partial Views in Laravel Blade
1 year ago

Intervention Image encode image to base64 format in Laravel
1 year ago

How to Install Mcrypt PHP Extension for Laravel Application
1 year ago

How to Show Gravatar Image on Laravel 8
1 year ago