I'm building a CMS of sorts, with an undefined number of unique URLs. I'd like all URLs to be redirected to my Index controller. What do I need to make my route in order for this to work?
'/*' => [ 'controller' => 'index', 'action' => 'index']
But that doesn't work. I know I could probably just route all 404 traffic to index, but that seems dirty.