I've discovered an odd problem. I run website.com. (for this example)
If I visit website.com/play, all my links are just fine. If I visit website.com/play/ or play/index, all the links suddenly break.
I build all my URLs using this->Html->url(array('controller' => 'whatever', 'action' => 'whatever'));
I'm wondering how I could make it so that someone could visit website.com/play/ or website.com/play/index and have it forwarded over to website.com/play. This should be without javascript. I can't seem to figure out if CakePHP's routing does this, but I'm nearly certain it does.
Writing Router::connect('/play/', array('controller' => 'plays'));
did not help.
UPDATE
Looking around the internet, I found it suggested for CakePHP to simply reroute with .htaccess. This answer:
RewriteRule ^(.*)/$ $1 [R=301,L]
Worked just fine.