Hello everybody,
This is one of my first times that i need to configure a .htacces file, so maybe is this a very simple question but I cant figure it out by myself .
Situation:
I have a local site, that reachable under the URL: "framework.dev". But I need to configure a rewrite rule:
rewrite all the URL's to index.php, except the exact URL: 'framework.dev'.
example:
framework.dev/users //Rewrite this url to index.php
framework.dev/users/edit/1 //Rewrite this url to index.php
framework.dev/login //Rewrite this url to index.php
etc..
framework.dev //Do not rewrite
How do i formulate the correct .htacces rewrite rule?
Thank you for you time,
Greetings
Jelte
PS: I you know a good .htaccess tutorial please inform me