Hello, fellow Cake enthusiasts. I have a quick question. I would like to have a dynamic robots.txt file. For this, I have created a custom route in the
Router::connect('/robots', array('controller' => 'pages','action' => 'robots', 'ext' => 'txt'));
It keeps giving me a 404, but it’s like the Apache 404. It seems like it’s not going to Cake … any ideas?
Thank you for your help, i have been wrapping my head for hours now…