<?php return redirect()->away('https://www.google.com');
How to Redirect to External URL in Laravel
8.5K
2 years ago
0 comments
Redirecting to an external URL in Laravel is quite straight forward but sometimes it might be hard for new Laravel developers that have not explored. To redirect the user to and external URL you can call the "away" function that's available after chaining the redirect() function.
Topics:
Frontend
Resource
Average
Average
Support Us
If you like our tutorial, support us by being our Patreon or buy us some coffee ☕️
Leave a reply