I am using the following .htaccess file to keep my URL's clean
RewriteEngine On
RewriteRule ^([a-zA-Z\-0-9]+)/?$ index.php?get1=$1 [B]
RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/?$ index.php?get1=$1&get2=$2
RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/?$ index.php?get1=$1&get2=$2&get3=$3
It works so far, but I now want to access a directory.
For example. If someone goes to mysite.com/news/post-title, the URL is rewritten and everything is ok.
Now I want to have a directory that can be viewed when someone goes to mysite.com/directory and have it's contents shown.
Is there a way to do that?