I'm not the best with .htaccess so I hope someone here can help. I'm trying to rewrite a URL to look more clean.
Original URL: domain.com/admin/users?userid=<id>
What I want: domain.com/admin/users/<id>
I have tried this code but I'm getting a 404:
RewriteRule ^admin/users/([a-zA-Z0-9_-]+)$ users.php?userid=$1
RewriteRule ^admin/users/([a-zA-Z0-9_-]+)/$ users.php?userid=$1