I'm working on adding some 301 redirects for some sites we're migrating.
I've been given a large list of 1:1 redirects.  The majority of URLs
include a query string.  I've included the the full 1:1 URL mapping list in
my redirect map text file.  I'm finding issues when testing the URLs that
contain query strings.  I've tried reading the documentation on RewriteMap
and I'm guessing it just doesn't go deep enough to include 1:1 mappings for
query strings.  Below are some example URLs in my rewrite map file.  Any
suggestions on how I should set up my redirects to account for all of them
in 1 rewrite map file?  I'm ok with using different rewrite rule blocks in
my configs, but would prefer not to have to break up this map list as it's
almost 15K lines.  Thanks


http://www.example.com/ --> http://www.test.com/us/en/main.html
http://www.example.com/?ps=1 --> http://www.test.com/us/en/main.html
http://www.example.com/browse.cfm?prdID=99ABCDE-88FG-77HI--66JKLMNOP -->
http://www.test.com/shop/catalog/item/12345
http://www.example.com/pdfs/iteam-A.pdf -->
http://www.test.com/shop/catalog/item/112233
http://www.example.com/Products/View.cfm?cat=ItemClass&ID=0123ABC -->
http://www.test.com/us/en/main/category1/subcategory1/productDetail.html
http://www.example.com/previews/?d=7788 -->
http://www.test.com/us/en/main/category1/subcategory2/productDetail.html
http://www.example.com/Products/Search.cfm?prdID=88900ABCDEF-77GH-66IJ-55KLMNOP
--> http://www.test.com/us/en/main/category1/subcategory2/productDetail.html

Reply via email to