I'm generating url of AJAX call like I explain here. (Please take a look of this post, is necesary to understand the actual).
Some url has special chars so would be something like:
http://myweb.com/ni%C3%B1o/pull%26bear/jacket%20shirt%20pants%20underwear%20hat/23
And I want to create friendly URLs removing some chars and limiting the third parameter to have only three words maximum. The result will be like this:
http://myweb.com/nino/pullbear/jacket-shirt-pants/23
So the php will be able to know what parameters I'm passing I added a new colum in my database for each VARCHAR with the pretty url conversion. I explain, something like this:
ID SEX SEX_PRETTY BAND BRAND_PRETTY DESCRIPTION DESCRIPTION_PRETTY AGE
1 NIÑO NINO PULL&BEAR PULLBEAR JACKET SHIRT PANTS UNDERWEAR HAT JACKET-SHIRT-PANTS 10
2 NIÑA NINA ZARA ZARA JEANS BIKINI DRESS SWEATER JEANS-BIKINI-DRESS 13
The AJAX calls the php, and in the php I do a pretty colum to normal colum conversion in the database.
I think this is the only way to do what I want, isn't it? Any help or advice would be appreciated, and if you need more info, let me know and I'll edit the post.