Redirect WP e-Commerce category URLs
-
Hello,
I am in the process of migrating a WP e-Commerce (https://getshopped.org/) shop to WooCommerce and my problem is that on the old website, the URLs looked like this:
https://domain.com/category-name/product-name
and WooCommerce inserts theproduct-category
in front of the category names:
https://domain.com/product-category/category-name/product-nameI know I can change product-category to something else, but how can I remove it? Or is there a way to create a redirect rule in .htaccess to redirect old category URLs to the new ones?
I guess the tricky part in it is that there can be multiple categories and they are represented the same way as a single category:
https://domain.com/category-name/product-name
https://domain.com/category-name/category-2/category-3/product-nameThanks in advance for any help!
- The topic ‘Redirect WP e-Commerce category URLs’ is closed to new replies.