I am using the following htaccess rewrite which works great for 1 parameter, such as https://example.com/admin
RewriteEngine On
#Rewrite specific url rewriting page
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?key=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?key=$1
But I want the option of having it one level deeper.
https://example.com/admin/profile
RewriteEngine On
#Rewrite specific url rewriting page
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?key=$1&keytwo=$2
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?key=$1&keytwo=$2
But this does not even hit my index.php for me to pick up and translate the values.