I have experience using .htaccess files to redirect user requests from one place to another. However, I am new to Laravel and have never attempted to do redirects in Laravel.
What's the best way to do redirects in Laravel? Is it as simple as putting an .htaccess file in the project root and doing things like I normally would, or does Laravel have a special way of doing this?
For my specific use case, I want to redirect requests to images in an img
directory to another publicly accessible path.
Thank you.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire