Hey Gid that worked great except...the only way I can find to grab the parameters within the old urls is the category numbers
But when I do that it also grabs numbers from the new urls and redirects them as well.
Is there a way to add an additional match to the end of that line besides =125 for example...But not connected within the old url.
Like I could make it grab asp and the category number...That would nail it, as the new hosting is Linux.
Something like below, but I don't know the expression to make it fly.
# Removing Sorting QueryStrings
RewriteCond %{QUERY_STRING} =155 asp
RewriteRule (.*) http://foxdenlane.com/store/$1? [R=301,L]
Posted: Thu Oct 25, 2007 6:45 am Post subject: Redirect Help
--------------------------------------------------------------------------------
I am moving a very large site to new hosting and new design. I would like to redirect the following url formats...But they are rather odd urls.
The category and products urls are like this...
/hypercart/category.asp?category=103
/hypercart/Category.asp?intPage=2&Category=103
/hypercart/category.asp?category=27
/hypercart/Category.asp?intPage=2&Category=27
/hypercart/pictureframe.asp?Sku=drm7020&categoryID=27
/hypercart/pictureframe.asp?Sku=FSKU%2D4V&categoryID=103
/pictureframe.asp?Sku=TV44&categoryID=76
/hypercart/category.asp?category=103
/hypercart/category.asp?category=76
/hypercart/pictureframe.asp?Sku=40+dollar+prepaid+card+plus+receiver&categoryID=130
/hypercart/Category.asp?intPage=2&Category=174
So I eliminated using "category"...as he coded with bot capitol and non capitol "c". hypercart only covers category pages...and not all of them, some are different. Same with pictureframe. Sku is not present in the category pages. The new cart uses the =125 format within the urls and obviously the ? marks as well.
I will go all same category pages and product to the new category main page. The category main pages from the old site are the most important...the largest percentage of them even have equal PR to the main page....They are the workhorses and backbone to the site.
Thanks
--Melanie