i am trying to do my website's link style like this:
^admin/([a-zA-Z0-9]+)$ index.php?usertype=admin&url=$1 [L,QSA]
if there is no admin i want to usertype=user like this:
^([a-zA-Z0-9]+)$ index.php?usertype=user&url=$1 [L,QSA]
maybe there is good an option but i am trying to learn. i did it, usertype=admin is working normal but usertype=user not working well :D here is link this link is working but when i go this link it redirect me to 404 not found page and i did it for a moment but the css / js files didn't come so I got it back