How to fix 403 error in Laravel
A quick tip: Having a folder in the /public/ directory with the same name as one of your route names may cause a 403 error.
For example, let's assume you decided to keep all your assets for admin-part in /public/admin/ folder and you have the following routes in your Laravel application:
- /admin/ - > 403 error
- /admin/dashboard -> works fine
- /admin/users -> works fine
To fix that issue, just rename /admin/ folder you have in your /public/ directory.