Would like http://websites.com/users/username1 URL structure
views:
19answers:
1
+2
A:
In your app/config/routes.php file you could add:
Router::connect('/users/*', array('controller' => 'users', 'action' => 'index'));
This would route all requests to /users/ to the index action of the users controller. If you want to use a different action, just replace 'index' with the action you prefer to use.
More info is here:
wreality
2010-08-01 00:46:10
Bah... right in the documentation. Thanks!
Anthony
2010-08-01 00:49:09