Ok i have a site that i am moving... Old url's are: www.domain.com/category.asp?category_id=1 www.domain.com/category.asp?category_id=2 www.domain.com/category.asp?category_id=3 new url's are www.newdomain.com/shop/item1 www.newdomain.com/shop/item2 www.newdomain.com/shop/item3 So i need to write something in asp that will that will 301 redirect if url = "?category_id=1" redirect to www.newdomain.com/shop/item1 if url = "?category_id=2" redirect to www.newdomain.com/shop/item2 if url = "?category_id=3" redirect to www.newdomain.com/shop/item3 else redirect to www.newdomain.com/index.asp I have googled this with no luck. Thanks for any help
Yes, I understand how to redirect one page to another, But how to i redirect one page with strings in the url (so it's truly multiple pages) to different pages
Just so you understand google has indexed all 3 of these exsamples: www.domain.com/category.asp?category_id=1 www.domain.com/category.asp?category_id=2 www.domain.com/category.asp?category_id=3 SO i want a different 301 redirect to 3 different page: if url = "?category_id=1" redirect to www.newdomain.com/shop/item1 if url = "?category_id=2" redirect to www.newdomain.com/shop/item2 if url = "?category_id=3" redirect to www.newdomain.com/shop/item3 else redirect to www.newdomain.com/index.asp