View Single Post
Old 01-03-2012, 11:26 PM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,658
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Yep, moving to apache configurations.

This is backwards. Unless you have a specific index file to work with? Typically its the other way around, you would map a more textual representation to that of using the id's or names. I don't recommend going the other way around.
The url will show what the user types in. You cannot force that to change, only where it goes. So if they type in ?id=14, that is where they go and what they will see. You can write a replacer in PHP to have it provide the links in an expanded format, but I wouldn't recommend hard coding that since that now requires that mod_rewrite be in use. Declare an environment variable in the <IfModule mod_rewrite.c> block, and alter the links as desired in PHP.
Fou-Lu is offline   Reply With Quote