I have an comparison website based on woocommerce and I have the following problem.
I have 1 product from 2 vendors:
Vendor 1: https://example.com/lista/ceas-accurist-signature-7220-classic/
Vendor 2: https://example.com/lista/ceas-accurist-signature-7220-classic-2/
Through .htaccess
I want to 301 redirect all the links that finish in -2/
to the original one, without -2/
.
Any idea how I can build the .htaccess
rule based on that suffix -2/
?