I have various hundred URL's that have been indexed in google and I need to resolve them and redirect them. The pattern is like this:
The CMS I use, Magento, has a rewrite module that fails sometimes and adds -1 to folders and to .html files.
As you can see, I would need a rewrite rule that would take off the -1 for the folders and the -1 just before the .html for pages.
I would need it to 301 the incoming requests based on above and rewrite them to:
Your help is greatly appreciated.