Forum Moderators: phranque
[edited by: jdMorgan at 4:00 pm (utc) on April 9, 2005]
[edit reason] Removed specifics per TOS. [/edit]
Welcome to WebmasterWorld!
The majority of changes will be made in your php code, at the point where the php script creates a link on the html "page" using data drawn from the database. This is often done with php's preg_replace directive. You then use mod_rewrite to rewrite requests for those "friendly" URLs, when requested by browsers and search engine spiders, back into the form neede to invoked ths script.
The only critical point is that the friendly URL must contain all information needed to create the internal call to the script, or the script must know how to creat a new page using only the information in the requested URL. Mod_rewrite cannot 'create' new information from nothing, so it's important to understand this point.
The mod_rewrite part is easy; Most of the work goes into modifying the script. You can ask over in our PHP Server Side Scripting forum, or post for hired help in our Commercial Exchange forum.
For more information, see the documents cited in our forum charter [webmasterworld.com], and try a site search for "rewrite friendly URL [google.com]."
Jim