Laravel: How to Catch all routes / any routes?

Route::any( '{catchall}', function(){
        // return redirect( 'https://digitizor.com' )
        // OR, Do something here
})->where( 'catchall', '.*' );

If this sounds like your situation, let's talk

No pitch decks. No sales process. Just a conversation about what you're dealing with and whether I can help.

Book a 30-minute call →