Page 1 of 1

Need help regarding urls reading

Posted: Thu Apr 12, 2007 2:43 am
by nikhil.deshmukh
See i just want the url to read

from my code which is
http://www.example.com/page.php?state_id=23&city_id=1

to

http://www.example.com/state_name/city_name/


how that can be implemented

Posted: Thu Apr 12, 2007 3:44 am
by aaronhall
Search the forums or google for "mod_rewrite"

Posted: Thu Apr 12, 2007 6:30 am
by mentor
aaronhall, don't be so harsh.

But you must do as aaronhall suggested. You will find a lot of stuff regarding this.

Take a look at this article. If you still face any problem, post it here.
http://corz.org/serv/tricks/htaccess2.php

Posted: Thu Apr 12, 2007 6:55 am
by aaronhall
aaronhall wrote:Search the forums or google for "mod_rewrite"
Sorry, mentor. I was out of line.

Posted: Thu Apr 12, 2007 7:19 am
by feyd
aaronhall wrote:Sorry, mentor. I was out of line.
I can't agree with that.

Posted: Thu Apr 12, 2007 7:22 am
by aaronhall
Sorry -- I need to find the bbcode for sarcasm