I'm trying to rewrite www.domain.com/something/some/ to www.domain.com/index.php?q=something/some/
This is what I have so far:
RewriteCond %{REQUEST_FILENAME} ([a-z-]+)/?$
RewriteRule (.*) index.php?q=$1 [QSA,L]
But I want to exclude urls like these: www.domain.com/#!/something
Could you please help?
Thanks, John