Pramod Mahale Posted August 11, 2015 Share Posted August 11, 2015 My url is : http://localhost/Pramod/Revite-1/event/view1?var1=a&var2=b and i wanted it to display as: http://localhost/Pramod/Revite-1/event/view1/a/b How can i achieve this using .htaccess file. Plz help. Link to comment Share on other sites More sharing options...
Larry Posted August 12, 2015 Share Posted August 12, 2015 I'd recommend reading this so you understand what you do and why, not just get the answer: https://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/ Link to comment Share on other sites More sharing options...
KeepLearning Posted September 1, 2015 Share Posted September 1, 2015 For pretty urls, something that puzzled me was where to put the .htaccess file, but I realized it goes in the web folder. Link to comment Share on other sites More sharing options...
Recommended Posts