I'm new to mod_rewrite, and hoped someone could help me with an issue.
I'm setting up a site where different users/companies can have their own account. To see the different users on the site you have to type something like: index.php?company=xxx&page=xxx.....and so on. My problem is that I want the users to be able to type just /+ their username or company.
Example: www.mysite.com/mycompany instead of www.mysite.com/index.php?company=mycompany.
One solution would be to create a folder for every user with an index file that redirects the user , but I don't think it's a good one. If anyone have a good solution to this problem I would be thankful.