Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-08-2012, 04:57 PM #1
- Join Date
- Mar 2012
- Thanked 0 Times in 0 Posts
URL Rewrite & 301 redirect possible?
I moved my ecommerce site to a new directory and cart software. Old product URL's were dynamic and formatted like this:
Where ABC+123456 is a unique product identifier. The new URL uses the same identifier, but in a different format and with a trailing.html:
So I'm pretty lost with htaccess and using mod_rewrite, but is it possible to take a link like the first one and rewrite & redirect it to the second one using only mod_rewrite and the htaccess file? There is 60,000 + such urls, so it's not possible to create separate entries for each product. I'm open to suggestions regarding the best way to redirect these urls.