Greetings all,
I have been searching through the forums for about an hour and just can't seem to get what I want to work, although this seems like it should be simple enough. Here is what I have:
Current URL:
www.example.com/products/cat1/cat2/product
New URL:
www.example.com/products/NEWCAT/cat1/cat2/product
So we are consolidating a few things on our menu and tucking them into another category.
So I need to be able to redirect any users that try to use the current URL over to the new url by adding in NEWCAT to the URL.
I currently have this in my htaccess, which isn't working:
RewriteCond %{HTTP_HOST} ^test\.example\.com$
RewriteRule ^products/cat1/(.*)$ /products/NEWCAT/cat1$1 [R=301,L]
Hope this makes sense, and thanks for any help.