New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Routes defined in routes/web.php not working

Yahzee Skellington May 4, 2021 by Yahzee Skellington

I'm trying to add standard Laravel routes and controllers, but Statamic is not picking them up. I get 404 errors.

I tried disabling Statamic routing in config/routes.php but site continues to behave the same. Statamic routes are still working and my custom ones aren't.

I'm new to Statamic, is there something I should configure to get this to work?

Answered by Yahzee Skellington!
>>>>>>> Answered <<<<<<<
4 Replies