Mod rewrite problem .. want a friendly/readable url
Trying to create friendlier/readable url for my website.
we have webpages with urls like "mydomain.com/members/?Z=username" , now we want the urls to be like "mydomain.com/username"
Im new to url rewriting, I tried the following
Contents of .htaccess
If i put the above .htaccess in the docroot im getting "Internal server error 500" message.
Kindly help me out in writing rewriterule which can substitute the ugly url to the friendly one.
I also want to ensure that that all kinds of usernames (with digits or without digits,starting with digits/ending with digits etc) are captured properly by the rewrite rule.
Thx in advance.