Forum Moderators: phranque
If they share common patterns, often you can group them and boil down to much smaller number of RewriteRule (or RedirectMatch).
www.sitename.com/section/catgory/sub-category1/page_1.htm. Where multiple pages within the sub-category exists in the form of page_2, page_3, etc.
Need to change all with the same "sub-catgory1" to "sub-category2". Is there an easier way to do this then to redirect individual pages?
It is likely that you can accomplish what you need with just one or only a few directives. The fact that mod_rewrite uses regular-expressions pattern-matching allows it to 'find' commonalities such as your 'sub-category1' path-part, and apply a URL 'transform' to all URLs that contain that path-part.
For more information, see the documents cited in our forum charter [webmasterworld.com], in particular the "Apache Rewriting Guide", and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
This introductory tutorial [webmasterworld.com] may also be useful to get started.
Jim