In this question, someone asked if it were possible to do a certain type of url rewriting without access to the php file. (see the question for more info.) How do I too this with access to the php file?
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.
You can use this for your htaccess file:
It just means, rewrite any requests that don’t end in js, ico, txt, gif, jpg, png, or css to your index.php file. In index.php, you can access any parameters using
$_SERVER['REQUEST_URI']and parse it as needed.