You can read all this, or simply skip to the very last paragraph, which is my educated summary
Not really with mod rewrite as it wouldn’t know which product line you want it forwarding to… this is assuming you have more than one product type, such as joints, muscles, etc all having their own paths.
Joomla has a component called com_sh404SEF, which rewrites urls for you and stores them in a database based on the title of the page. You could have a look at this and write your own database driven version, although it might be overkill.
The problem lies in that for mod rewrite, apache needs to know where the page needs to forward to, so you can’t write a generic rule if you’re using multiple folders/paths. - Unless you add each rule by hand for each product, assuming the same product doesn’t apply to multiple products - such as ibuprofen working for multiple things.
If you do it manually, it may be hard to maintain, etc etc.
Possibly the most important point though… the urls you already have are GREAT for search engine optimisation… much more so than your desired rewritten ones. I’d seriously consider sticking with what you’ve got - much less hassle, and much better seo performance.
web design, development & seo by DigitalVibe