Wednesday, 11 September 2013

edit url using .htaccess and remove query name

edit url using .htaccess and remove query name

I am making an example app with my own routing system. It is working on
GET request and 'action' variable.
My problem is look of url:
"localhost/routing/index.php?action=home/login". How to remove that
index.php?action=, so url will look like "localhost/routing/home/login"?
I want to put .htaccess in "routing" folder!

No comments:

Post a Comment