sorry If it’s a common question, I need a specific answer :
I want to rewrite a url like :
/foo/foo0.php?img=foo1/foo2/foo3/bar.jpg
into this :
/foo/foo1/foo2/foo3/bar.jpg
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Will do it
EDIT
Judging from the code you’ve added you actually want to do it like this: