How can I get anything but files to rewrite to index.php’s params? I’m using apache, mod_rewrite, etc.
Share
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.
If you want to rewrite anything that isn’t a request for a regular file I’d use this:
This way you don’t need to concern yourself about adhering to a certain URL format for your rewrites – you can test and act accordingly in your serving script.