Hi
I'm relatively new to the ins-and-outs of .htaccess so tell me if something in my question is not clear.
We are migrating our website over to a new version of the software we use so our product references and categories for these products have changed and we would like to permanently redirect (301?) any of the old urls to the new ones.For example, we have urls like below for the same product:
- www.example.com/4-test-category/56-product-500-litres.html
which when migrated to the new software look like:
- www.example.com/23-anothercat-category/123-product-500-litres.html
My question is: Is this possible using wildcards in a .htaccess file. The only part of the urls which would be the same using the above example would be "product-500-litres.html".
Is there a way to do this without redirecting every old url to its new version?
Thanks for any help you can give.
David