php - Unusual mass 301 redirects with .htaccess -


i'm migrating old ecommerce site new shopping cart system... need 301 redirect url scenarios seo purposes.

i've got of handled, need insight on whether right technique task @ hand (and whether syntax looks correct)... there 1000 rules in htaccess.

here's general rule setup each product page... there's multiple rules each product because i'm consolidating old mens / womens pages 1 new product page (as redirecting of various querystring versions of original url):

rewriterule  /mens-shirts-77/alice-in-wonderland-shirt-589.html$ http://www.domain.com/alice-in-wonderland-shirt-p160c3 [r=301] rewriterule  /womens-shirts-92/womens-alice-in-wonderland-shirt-842.html$ http://www.domain.com/alice-in-wonderland-shirt-p160c3 [r=301] rewriterule  /index.php?main_page=product_info*&products_id=(589|842)*$ http://www.domain.com/alice-in-wonderland-shirt-p160c3 [r=301] 

for reference, here's original query string looks like... "&cpath=##" no longer matters, since products category paths being redirected canonical root on... well, "hipid=" garbage:

/index.php?main_page=product_info&cpath=77&products_id=694&hipid=63ad73f32f5159a3d0f71b7b92404591 

so dunno, correct? many rules slow site down? there i'm missing (this migration has long seo history = no room mistakes)?

i'm little concerned conflicts shopping cart system (opencart) doing it's url rewriting querystring url seo url... that's abstract, can begin figure out who-is-doing-what-in-which-order. :/

just looking insight, these rules right? thanks!


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -