PHP MVC with better htaccess
I have no idea how htaccess works, and the theory of it just wont connect in my head no matter how many tutorials I read. I am building a simple MVC framework which works beautifully, except I don't like the way I am dealing with htaccess. To rewrite the URL's properly, this is what I am doing: RewriteEngine on RewriteRule ^users/([^/]+)(/([^/]+))?$ controller/users.php?method=$1¶m=$3 If I add a new controller, I then have to go into htaccess and add a new line: RewriteRule ^access/([^/]+)(/([^/]+))?$ controller/access.php?method=$1¶m=$3 Is there a way to make it all automatic with