[eluser]vokic[/eluser]
Hey, my question is not about how to setup that pattern but about avoiding username = controller collision.
For example if I use .htaccess to remove index.php from the url and if I want users to have their homepage like domain.tld/username (like on twitter for example) how can I prevent someone from registering like settings for example, or checkThis if I plan or do not know yet what controller names I will have in future? Maybe someone registers like goodies and I decide to offer some goodies too in the future and I would like to have that as a controller..
I know I can create a list and check against that list but who knows what reserved names I will need in the future when application gets bigger?
How would you go about this?
And I know I can use wildcard domains to produce something like username.domain.tld but on a shared hosting it is not an option...
Thanks in advance...