Forum Moderators: coopster
I want to create a directory with search engine friendly URL and did some searching on the net.
I was aware of the mod_rewrite solution but cam accross some PHP solutions that look interesting.
q1: What are the advantage of using one method over the other?
In my case (two variables - less than 1000 pages) it would be a combination of explode(), PATH_INFO and a switch statement (to assign the proper (key)word to the id's).
q2: Anyone know of a complete tutorial on how to achieve this?
Thanks
The directories don't exist and a combination of mod_rewrite and explode("/",$_SERVER[REQUEST_URI]); gets the job done to lookup the listing from a MySQL database.
Jim