I am maintaining an e-commerce system which uses catalogues supplied by various manufacturers to display products and product data. When selecting a product to view the url is
You have to encode the '/' character in the url using ASCII notation. Use %2F to represent the '/' character in ASCII.
For example if your product code is 'prod/23/89' then your url will be "site-address/catalogue/product-category1/product-category2/prod%2F23%2F89".
Since you are using php, familiarize yourself with the rawurlencode() function which encodes urls with such characters.