Hi, so I'm trying to redirect a category and all it's posts to point to my new category url. I used the code below which directed mywebsite.com/category1 to mywebsite.com/category2, but if I click on any old posts such as mywebsite.com/category1/post it doesn't redirect to mywebsite.com/category2. I'm sure I have used the code below to achieve this before so I'm a bit confused!
RewriteRule ^category-number-1(.*) http://www.mywebsite.com/category-number-2/$1 [R=301,L]