Cleaning URL using .htaccess -


from this:

crunchpaper.com/jlpt/form/try_question.php  

to this:

crunchpaper.com/jlpt/try_question/  

i try this:

rewriteengine on rewritecond %{request_filename} !-d rewriterule ^try_question$ /try_question.php/$1 [nc,qsa] 

but it's not working.

i want clean url above.

please me. thanks

this rule should work :

rewriterule ^jlpt/form/try_question\.php$ jlpt/try_question/ [l]  

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -