<?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
•5351 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 SnippetsHow to Fix Laravel PDOException SQLSTATE[HY000] [2002] No such file or directory
2 years ago
How to Install MariaDB on macOS Monterey
2 years ago
How to Create Alias for Laravel Sail Command
1 year ago
How to Customize Default Error Pages in Laravel 8
2 years ago
How to add class attribute to the body tag in NuxtJs
2 years ago
How to Seed Database After Deploying Laravel Application to Heroku
2 years ago