I am working on an ecommerce site. The urls should be seo friendly like
[COLOR=”DarkRed”]
So i want to design my tabele this way
id, section, category, name
Here
section : apparel
category : shirt
name : Shirt with duck print
When a user clicks the product on the table, url of the new page open for the respective product should be rewrited as above
Here my point is that url rewriting should be dynamic and pieces of the expected url will be read from the table.
I
don’t think that i can solve it simply adding a few lines on .htaccess file. There should be also a php side as i think.
So, how i can resolve this problem of me?