htacess

Use domain as "prefix" on CakePHP

Let's say that I have a site running CakePHP and I have the prefix "product". I have lots of pages with URL like: http://mysite.com/produt/blue-shirt/details http://mysite.com/produt/blue-shirt/order http://mysite.com/produt/skate/details http://mysite.com/produt/sun-glasses/vendors Now I need to use a domain like http://mysite-blue-...